ServiceMasterKey.Export Method (String, String)

 

Saves the service master key to the specified system path location with 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: System.String

A String value that specifies the system path location of the file to which to save the service master key.

password
Type: System.String

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

Return to top
Show: