Méthode User.ChangePassword (SecureString, SecureString)
Changes the user password.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub ChangePassword ( _
oldPassword As SecureString, _
newPassword As SecureString _
)
'Utilisation
Dim instance As User
Dim oldPassword As SecureString
Dim newPassword As SecureString
instance.ChangePassword(oldPassword, _
newPassword)
public void ChangePassword(
SecureString oldPassword,
SecureString newPassword
)
public:
void ChangePassword(
SecureString^ oldPassword,
SecureString^ newPassword
)
member ChangePassword :
oldPassword:SecureString *
newPassword:SecureString -> unit
public function ChangePassword(
oldPassword : SecureString,
newPassword : SecureString
)
Paramètres
- oldPassword
Type : System.Security.SecureString
The user’s exsisting password.
- newPassword
Type : System.Security.SecureString
The user’s new password.