Condividi tramite


Metodo Certificate.Export (String, String, String)

Saves the certificate in the specified system path location.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub Export ( _
    certificatePath As String, _
    privateKeyPath As String, _
    encryptionPassword As String _
)
'Utilizzo
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
)

Parametri

  • certificatePath
    Tipo: System.String
    A String value that specifies the system path to which to save the certificate.
  • privateKeyPath
    Tipo: System.String
    A String value that specifies the system path to the private key.
  • encryptionPassword
    Tipo: System.String
    A String value that specifies the system path to encrypt the private key.

Esempi

Utilizzo della crittografia

Vedere anche

Riferimento

Certificate Classe

Overload Export

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Gerarchia di crittografia

CREATE CERTIFICATE (Transact-SQL)