共用方式為


ServerRole.DateCreated 屬性

Gets a DateTime representing the date and time when the Server Role was created.

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

語法

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

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

屬性值

型別:System.DateTime
A DateTime representing the date and time that the Server Role was created.

請參閱

參考

ServerRole 類別

Microsoft.SqlServer.Management.Smo 命名空間