ChangePassword méthode (String)
Modifies the password of the application role.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub ChangePassword ( _
password As String _
)
'Utilisation
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
)
Paramètres
- password
Type : System. . :: . .String
A String value that specifies the new password.
Notes
For security reasons, the application role password should be modified before the application role is granted any privileges.
Voir aussi