次の方法で共有


AsymmetricKey.Create メソッド (String, AsymmetricKeySourceType)

SQL Server のインスタンスで、指定したソースから非対称キーを読み込んで非対称キーを作成します。

名前空間:  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
)

パラメーター

  • keySource
    型: System.String
    非対称キーを読み込むソースを示す String 値です。

使用例

メソッドの呼び出し

関連項目

参照

AsymmetricKey クラス

Create オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

CREATE ASYMMETRIC KEY (Transact-SQL)