Partager via


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

Notes

For security reasons, the application role password should be modified before the application role is granted any privileges.