Partager via


Export méthode (String, String, String, String)

Saves the certificate in the specified system path location.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub Export ( _
    certificatePath As String, _
    privateKeyPath As String, _
    encryptionPassword As String, _
    decryptionPassword As String _
)
'Utilisation
Dim instance As Certificate
Dim certificatePath As String
Dim privateKeyPath As String
Dim encryptionPassword As String
Dim decryptionPassword As String

instance.Export(certificatePath, privateKeyPath, _
    encryptionPassword, decryptionPassword)
public void Export(
    string certificatePath,
    string privateKeyPath,
    string encryptionPassword,
    string decryptionPassword
)
public:
void Export(
    String^ certificatePath, 
    String^ privateKeyPath, 
    String^ encryptionPassword, 
    String^ decryptionPassword
)
member Export : 
        certificatePath:string * 
        privateKeyPath:string * 
        encryptionPassword:string * 
        decryptionPassword:string -> unit 
public function Export(
    certificatePath : String, 
    privateKeyPath : String, 
    encryptionPassword : String, 
    decryptionPassword : String
)

Paramètres