Поделиться через


Метод Certificate.Export (String, String, String)

Saves the certificate in the specified system path location.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub Export ( _
    certificatePath As String, _
    privateKeyPath As String, _
    encryptionPassword As String _
)
'Применение
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
)

Параметры

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

Примеры

Использование шифрования

См. также

Справочник

Certificate Класс

Перегрузка Export

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Иерархия средств шифрования

Инструкция CREATE CERTIFICATE (Transact-SQL)