Share via


DatabaseEncryptionKey.OpenedDate Property

Shows the date and time when the database encryption key was last opened.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property OpenedDate As DateTime 
    Get
'Usage
Dim instance As DatabaseEncryptionKey 
Dim value As DateTime 

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

Property Value

Type: System.DateTime
The date and time when the database encryption key was last opened.

See Also

Reference

DatabaseEncryptionKey Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Transparent Data Encryption (TDE)

Manage Database Encryption (Properties Page)