ChangePassword 方法 (String)

Modifies the password of the application role.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub ChangePassword ( _
    password As String _
)
用法
Dim instance As ApplicationRole
Dim password As String

instance.ChangePassword(password)
public void ChangePassword(
    string password
)
public:
void ChangePassword(
    String^ password
)
member ChangePassword : 
        password:string -> unit 
public function ChangePassword(
    password : String
)

参数

注释

For security reasons, the application role password should be modified before the application role is granted any privileges.

示例

调用方法