JobFilter 类

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

继承层次结构

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

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public NotInheritable Class JobFilter
用法
Dim instance As JobFilter
public sealed class JobFilter
public ref class JobFilter sealed
[<SealedAttribute>]
type JobFilter =  class end
public final class JobFilter

JobFilter 类型公开以下成员。

构造函数

  名称 说明
公共方法 JobFilter Initializes a new instance of the JobFilter class.

页首

属性

  名称 说明
公共属性 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.
公共属性 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.
公共属性 DateFindOperand Gets or sets the operator used to evaluate date constraints in the job filter.
公共属性 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.
公共属性 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.
公共属性 Enabled Gets or sets the Boolean property value that specifies whether the job filter is enabled or not.
公共属性 JobType Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobs method to type of job.
公共属性 Owner Gets or sets the owner of the job filter.
公共属性 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.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

Thread Safety

此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Smo.Agent 命名空间