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
)
参数
- password
类型:System.String
A String 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 命名空间