Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - .NET 编程 » UltraLite .NET 2.0 API 参考 » ULConnection 类

 

ChangePassword 方法

将连接字符串中指示的用户口令更改为所提供的新口令。

语法
Visual Basic
Public Shared Sub ChangePassword( _
   ByVal connectionString As String, _
   ByVal newPassword As String _
)
C#
public static void ChangePassword(
   string  connectionString,
   string  newPassword
);
参数
  • connectionString   一个连接字符串,其中包含连接到指定数据库所需的足够信息。连接字符串可以包含用户 ID 和当前口令。

  • newPassword   要设置的新口令。

另请参见