User.ChangePassword Método (SecureString, SecureString)
Changes the user password.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub ChangePassword ( _
oldPassword As SecureString, _
newPassword As SecureString _
)
'Uso
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
)
Parámetros
- oldPassword
Tipo: System.Security.SecureString
The user’s exsisting password.
- newPassword
Tipo: System.Security.SecureString
The user’s new password.