Export (0) Print
Expand All

MasterKey.Export Method

Saves the database master key to the specified system path location by using the specified password.

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

public void Export(
	string path,
	string password
)

Parameters

path
Type: String
A String value that specifies the system path location of the file to which to save the master key.
password
Type: String
A String value that specifies the password with which to encrypt and decrypt the master key.

Community Additions

ADD
Show:
© 2014 Microsoft