共用方式為


Rule.CreateDate 屬性

Gets the time and date when the rule 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 Rule 
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 system object value that specifies the time and date when the rule was created.

範例

建立、改變和移除規則

請參閱

參考

Rule 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

規則

CREATE RULE (Transact-SQL)