Partager via


Méthode MasterKey.DropPasswordEncryption

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub DropPasswordEncryption ( _
    password As String _
)
'Utilisation
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
)

Paramètres

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

Notes

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

Exemples

Appel de méthodes

Voir aussi

Référence

MasterKey Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Hiérarchie de chiffrement

CREATE MASTER KEY (Transact-SQL)