共用方式為


EncryptionAlgorithm 屬性

Gets or sets the symmetric key encryption algorithm.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property EncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm
    Get
'用途
Dim instance As SymmetricKey
Dim value As SymmetricKeyEncryptionAlgorithm

value = instance.EncryptionAlgorithm
[SfcPropertyAttribute]
public SymmetricKeyEncryptionAlgorithm EncryptionAlgorithm { get; }
[SfcPropertyAttribute]
public:
property SymmetricKeyEncryptionAlgorithm EncryptionAlgorithm {
    SymmetricKeyEncryptionAlgorithm get ();
}
[<SfcPropertyAttribute>]
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.

範例

使用加密