共用方式為


DatabaseEncryptionKey.OpenedDate 屬性

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

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property OpenedDate As DateTime 
    Get
'用途
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

屬性值

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

請參閱

參考

DatabaseEncryptionKey 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

透明資料加密 (TDE)

管理資料庫加密 (屬性頁面)