Export (0) Print
Expand All

MasterKey.AddPasswordEncryption Method

Adds password encryption to the master key.

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

public void AddPasswordEncryption(
	string password
)

Parameters

password
Type: 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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft