共用方式為


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
DateTime