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


Метод Create (String, AsymmetricKeySourceType)

Creates an asymmetric key on the instance of SQL Server by loading the asymmetric key from the specified source.

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

Синтаксис

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

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

Параметры

Примеры

Вызов методов