JobHistoryFilter 类
The JobHistoryFilter object is used to store information about the constraints applied to the EnumJobHistory method of the JobServer object.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Management.Smo.Agent..::..JobHistoryFilter
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public NotInheritable Class JobHistoryFilter
用法
Dim instance As JobHistoryFilter
public sealed class JobHistoryFilter
public ref class JobHistoryFilter sealed
[<SealedAttribute>]
type JobHistoryFilter = class end
public final class JobHistoryFilter
JobHistoryFilter 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
EndRunDate | Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobHistory method to the date the job completed running. | |
JobID | Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobHistory method to the job specified by the job ID value. | |
JobName | Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobHistory method to the job specified by the name of the job. | |
MinimumRetries | Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobHistory method to jobs that have failed and been retried for minimum number of times specified. | |
MinimumRunDuration | Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobHistory method to jobs that have completed running in the minimum length of time specified. | |
OldestFirst | Gets or sets the Boolean property value that specifies whether the jobs are listed in oldest-first order or in newest-first order. | |
OutcomeTypes | Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobHistory method to jobs that have the specified outcome at completion. | |
SqlMessageID | Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobHistory method to jobs that have generated the specified message during execution. | |
SqlSeverity | Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobHistory method to jobs that have generated an error of the specified severity during execution. | |
StartRunDate | Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobHistory method to the date the job started running. |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 Object 继承。) |
页首
注释
Thread Safety
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。 不保证所有实例成员都对于线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。