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
)
參數
- 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.