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
)
參數
- encryptionAlgorithm
型別:Microsoft.SqlServer.Management.Smo.AsymmetricKeyEncryptionAlgorithm
A AsymmetricKeyEncryptionAlgorithm object value that specifies the encryption algorithm.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間