Compartilhar via


Propriedade DatabaseEncryptionKey

Gets a DataBaseEncryptionKey datatype.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcObjectAttribute(SfcObjectRelationship.ChildObject, SfcObjectCardinality.One)> _
Public ReadOnly Property DatabaseEncryptionKey As DatabaseEncryptionKey
    Get
'Uso
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

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseEncryptionKey
A DatabaseEncryptionKey object.