Freigeben über


MasterKey.DropPasswordEncryption-Methode

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

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

Syntax

'Declaration
Public Sub DropPasswordEncryption ( _
    password As String _
)
'Usage
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
)

Parameter

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

Hinweise

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

Beispiele

Aufrufen von Methoden

Siehe auch

Verweis

MasterKey Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Verschlüsselungshierarchie

CREATE MASTER KEY (Transact-SQL)