JobFilter.DateJobLastModified Property

Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobs method to the date the job was last modified.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Property DateJobLastModified As DateTime 
    Get 
    Set
'Usage
Dim instance As JobFilter 
Dim value As DateTime 

value = instance.DateJobLastModified

instance.DateJobLastModified = value
public DateTime DateJobLastModified { get; set; }
public:
property DateTime DateJobLastModified {
    DateTime get ();
    void set (DateTime value);
}
member DateJobLastModified : DateTime with get, set
function get DateJobLastModified () : DateTime 
function set DateJobLastModified (value : DateTime)

Property Value

Type: System.DateTime
A DateTime object value that specifies the date the job was last modified.

Remarks

A job filter can be applied to the JobServer object's EnumJobs method to restrict the returned enumerated list. When the constraint is a date property such as DateJobLastModified the FindOperand is used to specify whether the enumerated list is restricted to jobs that were last modified on an earlier, later, or equal date.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

JobFilter Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)