Compartir a través de


ChangePassword Método (SecureString)

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 SecureString _
)
'Uso
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
)

Parámetros

Comentarios

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