Compartir a través de


MasterKey.DropPasswordEncryption Método

Removes the password encryption from the master key by using the associated password.

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

Sintaxis

'Declaración
Public Sub DropPasswordEncryption ( _
    password As String _
)
'Uso
Dim instance As MasterKey 
Dim password As String

instance.DropPasswordEncryption(password)
public void DropPasswordEncryption(
    string password
)
public:
void DropPasswordEncryption(
    String^ password
)
member DropPasswordEncryption : 
        password:string -> unit
public function DropPasswordEncryption(
    password : String
)

Parámetros

  • password
    Tipo: System.String
    A String value that specifies the password with which to encrypt and decrypt the master key.

Comentarios

The IsEncryptedByServer property specifies whether the master key is encrypted by the service master key or by using a password.

Ejemplos

Llamar a métodos

Vea también

Referencia

MasterKey Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Jerarquía de cifrado

CREATE MASTER KEY (Transact-SQL)