MasterKey.DropPasswordEncryption Method (String)


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)

public void DropPasswordEncryption(
	string password


Type: System.String

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

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

Return to top