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


Certificate.Export Method (String, String, String)

Saves the certificate in the specified system path location.

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

Синтаксис

'Декларация
Public Sub Export ( _
    certificatePath As String, _
    privateKeyPath As String, _
    encryptionPassword As String _
)
public void Export (
    string certificatePath,
    string privateKeyPath,
    string encryptionPassword
)
public:
void Export (
    String^ certificatePath, 
    String^ privateKeyPath, 
    String^ encryptionPassword
)
public void Export (
    String certificatePath, 
    String privateKeyPath, 
    String encryptionPassword
)
public function Export (
    certificatePath : String, 
    privateKeyPath : String, 
    encryptionPassword : String
)

Параметры

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

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

How to: Add a Certificate in Visual Basic .NET

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

Certificate Class
Certificate Members
Microsoft.SqlServer.Management.Smo Namespace

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

Иерархия средств шифрования
CREATE CERTIFICATE (Transact-SQL)
Иерархия средств шифрования
CREATE CERTIFICATE (Transact-SQL)