共用方式為


DatabaseEncryptionKey 屬性

Gets a DataBaseEncryptionKey datatype.

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

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ChildObject, SfcObjectCardinality.One)> _
Public ReadOnly Property DatabaseEncryptionKey As DatabaseEncryptionKey
    Get
'用途
Dim instance As Database
Dim value As DatabaseEncryptionKey

value = instance.DatabaseEncryptionKey
[SfcObjectAttribute(SfcObjectRelationship.ChildObject, SfcObjectCardinality.One)]
public DatabaseEncryptionKey DatabaseEncryptionKey { get; }
[SfcObjectAttribute(SfcObjectRelationship::ChildObject, SfcObjectCardinality::One)]
public:
property DatabaseEncryptionKey^ DatabaseEncryptionKey {
    DatabaseEncryptionKey^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.ChildObject, SfcObjectCardinality.One)>]
member DatabaseEncryptionKey : DatabaseEncryptionKey
function get DatabaseEncryptionKey () : DatabaseEncryptionKey

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEncryptionKey
A DatabaseEncryptionKey object.