Certificate.Export Method (String)

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 _
)
'Usage
Dim instance As Certificate 
Dim certificatePath As String

instance.Export(certificatePath)
public void Export(
    string certificatePath
)
public:
void Export(
    String^ certificatePath
)
member Export : 
        certificatePath:string -> unit
public function Export(
    certificatePath : String
)

Parameters

  • certificatePath
    Type: System.String
    A String value that specifies the system path to which to save the certificate.

Examples

Using Encryption

See Also

Reference

Certificate Class

Export Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Encryption Hierarchy

CREATE CERTIFICATE (Transact-SQL)