SymmetricKey.EncryptionAlgorithm 属性

Gets or sets the symmetric key encryption algorithm.

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

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property EncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm 
    Get
用法
Dim instance As SymmetricKey 
Dim value As SymmetricKeyEncryptionAlgorithm 

value = instance.EncryptionAlgorithm
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public SymmetricKeyEncryptionAlgorithm EncryptionAlgorithm { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property SymmetricKeyEncryptionAlgorithm EncryptionAlgorithm {
    SymmetricKeyEncryptionAlgorithm get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member EncryptionAlgorithm : SymmetricKeyEncryptionAlgorithm
function get EncryptionAlgorithm () : SymmetricKeyEncryptionAlgorithm

属性值

类型:Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm
A SymmetricKeyEncryptionAlgorithm object value that specifies the encryption algorithm used by the symmetric key.

示例

使用加密

请参阅

参考

SymmetricKey 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

加密层次结构

CREATE SYMMETRIC KEY (Transact-SQL)