AsymmetricKey.Create 方法

包括受保护的成员
包括继承的成员

Creates an asymmetric key based on an asymmetric key encryption algorithm or based on an asymmetric key source type.

此成员被重载。有关此成员的完整信息,包括语法、用法和示例,请单击重载列表中的名称。

重载列表

  名称 说明
公共方法 Create(AsymmetricKeyEncryptionAlgorithm) Creates an asymmetric key on the instance of SQL Server with the specified encryption algorithm.
公共方法 Create(String, AsymmetricKeySourceType) Creates an asymmetric key on the instance of SQL Server by loading the asymmetric key from the specified source.
公共方法 Create(AsymmetricKeyEncryptionAlgorithm, String) Creates an asymmetric key on the instance of SQL Server with the specified encryption algorithm and the specified password.
公共方法 Create(String, AsymmetricKeySourceType, String) Creates an asymmetric key on the instance of SQL Server by loading the specified asymmetric key and by using the specified password.
公共方法 Create(String, String, CreateDispositionType, AsymmetricKeySourceType) Creates an asymmetric key on the instance of SQL Server by loading the specified asymmetric key and by using the specified password.

页首

请参阅

参考

AsymmetricKey 类

Microsoft.SqlServer.Management.Smo 命名空间