Metodo ChangePassword (SecureString)
Modifies the password of the application role.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub ChangePassword ( _
password As SecureString _
)
'Utilizzo
Dim instance As ApplicationRole
Dim password As SecureString
instance.ChangePassword(password)
public void ChangePassword(
SecureString password
)
public:
void ChangePassword(
SecureString^ password
)
member ChangePassword :
password:SecureString -> unit
public function ChangePassword(
password : SecureString
)
Parametri
- password
Tipo: System.Security. . :: . .SecureString
A SecureString value that specifies the new password.
Osservazioni
For security reasons, the application role password should be modified before the application role is granted any privileges.
Vedere anche