Compartir a través de


ChangePassword Método (String)

Modifies the password of the application role.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub ChangePassword ( _
    password As String _
)
'Uso
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
)

Parámetros

Notas

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