Partager via


DatabaseEncryptionKey propriété

Gets a DataBaseEncryptionKey datatype.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcObjectAttribute(SfcObjectRelationship.ChildObject, SfcObjectCardinality.One)> _
Public ReadOnly Property DatabaseEncryptionKey As DatabaseEncryptionKey
    Get
'Utilisation
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

Valeur de la propriété

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