Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Saves the certificate in the specified system path location.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Export ( _
certificatePath As String, _
privateKeyPath As String, _
encryptionPassword As String _
)
'Usage
Dim instance As Certificate
Dim certificatePath As String
Dim privateKeyPath As String
Dim encryptionPassword As String
instance.Export(certificatePath, privateKeyPath, _
encryptionPassword)
public void Export(
string certificatePath,
string privateKeyPath,
string encryptionPassword
)
public:
void Export(
String^ certificatePath,
String^ privateKeyPath,
String^ encryptionPassword
)
member Export :
certificatePath:string *
privateKeyPath:string *
encryptionPassword:string -> unit
public function Export(
certificatePath : String,
privateKeyPath : String,
encryptionPassword : String
)
Parameters
- certificatePath
Type: System.String
A String value that specifies the system path to which to save the certificate.
- privateKeyPath
Type: System.String
A String value that specifies the system path to the private key.
- encryptionPassword
Type: System.String
A String value that specifies the system path to encrypt the private key.
Examples
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace