User.ChangePassword 方法 (SecureString)
Changes the user password.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub ChangePassword ( _
newPassword As SecureString _
)
'用途
Dim instance As User
Dim newPassword As SecureString
instance.ChangePassword(newPassword)
public void ChangePassword(
SecureString newPassword
)
public:
void ChangePassword(
SecureString^ newPassword
)
member ChangePassword :
newPassword:SecureString -> unit
public function ChangePassword(
newPassword : SecureString
)
參數
- newPassword
型別:System.Security.SecureString
The new password.