Метод SymmetricKey.OpenWithCertificate (String, String)

Opens the symmetric key with a certificate.

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

Синтаксис

'Декларация
Public Sub OpenWithCertificate ( _
    certificateName As String, _
    privateKeyPassword As String _
)
'Применение
Dim instance As SymmetricKey 
Dim certificateName As String 
Dim privateKeyPassword As String

instance.OpenWithCertificate(certificateName, _
    privateKeyPassword)
public void OpenWithCertificate(
    string certificateName,
    string privateKeyPassword
)
public:
void OpenWithCertificate(
    String^ certificateName, 
    String^ privateKeyPassword
)
member OpenWithCertificate : 
        certificateName:string * 
        privateKeyPassword:string -> unit
public function OpenWithCertificate(
    certificateName : String, 
    privateKeyPassword : String
)

Параметры

  • privateKeyPassword
    Тип: System.String
    A String value that specifies the password that was used to encrypt the private key of the certificate.

Примеры

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

См. также

Справочник

SymmetricKey Класс

Перегрузка OpenWithCertificate

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

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

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

CREATE SYMMETRIC KEY (Transact-SQL)

OPEN SYMMETRIC KEY (Transact-SQL)