Modifies the password of the application role.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub ChangePassword ( _
password As SecureString _
)
用法
Dim instance As ApplicationRole
Dim password As SecureString
instance.ChangePassword(password)
public void ChangePassword(
SecureString password
)
public:
void ChangePassword(
SecureString^ password
)
member ChangePassword :
password:SecureString -> unit
public function ChangePassword(
password : SecureString
)
参数
- password
类型:System.Security.SecureString
A SecureString value that specifies the new password.
注释
For security reasons, the application role password should be modified before the application role is granted any privileges.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间