Export (0) Print
Expand All

MasterKey.Create Method (String, String, String)

Creates a master key from the specified file and that has the specified encryption and decryption passwords.

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

public void Create(
	string path,
	string decryptionPassword,
	string encryptionPassword
)

Parameters

path
Type: String
A String value that specifies the system path location of the file from which to load the master key.
decryptionPassword
Type: String
A String value that specifies the password with which to decrypt the master key.
encryptionPassword
Type: String
A String value that specifies the password with which to encrypt the master key.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft