AsymmetricKey.Create 方法 (AsymmetricKeyEncryptionAlgorithm)

Creates an asymmetric key on the instance of SQL Server with the specified encryption algorithm.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub Create ( _
    encryptionAlgorithm As AsymmetricKeyEncryptionAlgorithm _
)
用法
Dim instance As AsymmetricKey 
Dim encryptionAlgorithm As AsymmetricKeyEncryptionAlgorithm

instance.Create(encryptionAlgorithm)
public void Create(
    AsymmetricKeyEncryptionAlgorithm encryptionAlgorithm
)
public:
void Create(
    AsymmetricKeyEncryptionAlgorithm encryptionAlgorithm
)
member Create : 
        encryptionAlgorithm:AsymmetricKeyEncryptionAlgorithm -> unit
public function Create(
    encryptionAlgorithm : AsymmetricKeyEncryptionAlgorithm
)

参数

示例

调用方法

请参阅

参考

AsymmetricKey 类

Create 重载

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

CREATE ASYMMETRIC KEY (Transact-SQL)