共用方式為


Rule.DateLastModified 屬性

Gets the time and date when the rule was last modified.

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

語法

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

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

屬性值

型別:System.DateTime
A DateTime system object value that specifies the time and date when the rule was last modified.

範例

建立、改變和移除規則

請參閱

參考

Rule 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

規則

CREATE RULE (Transact-SQL)