共用方式為


MasterKey.CreateDate 屬性

Gets the date and time when the master key was created.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property CreateDate As DateTime 
    Get
'用途
Dim instance As MasterKey 
Dim value As DateTime 

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

屬性值

型別:System.DateTime
A DateTime object value that specifies the date and time when the master key was created.

範例

設定屬性

請參閱

參考

MasterKey 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

加密階層

CREATE MASTER KEY (Transact-SQL)