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


Метод Certificate.Create (String, CertificateSourceType)

Creates a certificate on the database that has the specified certificate source type.

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

Синтаксис

'Декларация
Public Sub Create ( _
    certificateSource As String, _
    sourceType As CertificateSourceType _
)
'Применение
Dim instance As Certificate 
Dim certificateSource As String 
Dim sourceType As CertificateSourceType

instance.Create(certificateSource, sourceType)
public void Create(
    string certificateSource,
    CertificateSourceType sourceType
)
public:
void Create(
    String^ certificateSource, 
    CertificateSourceType sourceType
)
member Create : 
        certificateSource:string * 
        sourceType:CertificateSourceType -> unit
public function Create(
    certificateSource : String, 
    sourceType : CertificateSourceType
)

Параметры

  • certificateSource
    Тип: System.String
    A String value that specifies the source of the certificate.

Примеры

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

См. также

Справочник

Certificate Класс

Перегрузка Create

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

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

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

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