Método AsymmetricKey.ChangePrivateKeyPassword

Modifies the private key password that is used to secure the private key for the asymmetric key.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub ChangePrivateKeyPassword ( _
    oldPassword As String, _
    newPassword As String _
)
'Uso
Dim instance As AsymmetricKey 
Dim oldPassword As String 
Dim newPassword As String

instance.ChangePrivateKeyPassword(oldPassword, _
    newPassword)
public void ChangePrivateKeyPassword(
    string oldPassword,
    string newPassword
)
public:
void ChangePrivateKeyPassword(
    String^ oldPassword, 
    String^ newPassword
)
member ChangePrivateKeyPassword : 
        oldPassword:string * 
        newPassword:string -> unit
public function ChangePrivateKeyPassword(
    oldPassword : String, 
    newPassword : String
)

Parâmetros

Exemplos

Chamando métodos

Consulte também

Referência

AsymmetricKey Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

CREATE ASYMMETRIC KEY (Transact-SQL)