Compartir a través de


Certificate.Export Método (String, String, String, String)

Saves the certificate in the specified system path location.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub Export ( _
    certificatePath As String, _
    privateKeyPath As String, _
    encryptionPassword As String, _
    decryptionPassword As String _
)
'Uso
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
)

Parámetros

  • 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.
  • decryptionPassword
    Tipo: System.String
    A String value that specifies the system path to decrypt the private key.

Ejemplos

Utilizar el cifrado

Vea también

Referencia

Certificate Clase

Sobrecarga de Export

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Jerarquía de cifrado

CREATE CERTIFICATE (Transact-SQL)