Share via


JobFilter Class

The JobFilter object is used to store information about the constraints applied to the EnumJobs method of the JobServer object.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.Agent.JobFilter

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

Syntax

'Declaration
Public NotInheritable Class JobFilter
'Usage
Dim instance As JobFilter
public sealed class JobFilter
public ref class JobFilter sealed
[<SealedAttribute>]
type JobFilter =  class end
public final class JobFilter

The JobFilter type exposes the following members.

Constructors

  Name Description
Public method JobFilter Initializes a new instance of the JobFilter class.

Top

Properties

  Name Description
Public property Category Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobs method to the date the category of the job.
Public property CurrentExecutionStatus Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobs method to the current execution status.
Public property DateFindOperand Gets or sets the operator used to evaluate date constraints in the job filter.
Public property DateJobCreated 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 created.
Public property DateJobLastModified 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.
Public property Enabled Gets or sets the Boolean property value that specifies whether the job filter is enabled or not.
Public property JobType Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobs method to type of job.
Public property Owner Gets or sets the owner of the job filter.
Public property StepSubsystem Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobs method to the subsystem used in the job steps that belong to the job.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Smo.Agent Namespace