JobHistoryFilter Members
The JobHistoryFilter object is used to store information about the constraints applied to the EnumJobHistory method of the JobServer object.
The following tables list the members exposed by the JobHistoryFilter type.
Public Constructors
Nome | Description | |
---|---|---|
JobHistoryFilter | Initializes a new instance of the JobHistoryFilter class. |
Torna all'inizio
Public Properties
Nome | Description | |
---|---|---|
![]() |
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. |
Torna all'inizio
Public Methods
(see also Protected Methods )
Nome | Description | |
---|---|---|
![]() |
Equals | Overloaded. (inherited from Object ) |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetType | (inherited from Object ) |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
ToString | (inherited from Object ) |
Torna all'inizio
Protected Methods
Nome | Description | |
---|---|---|
![]() |
Finalize | (inherited from Object ) |
![]() |
MemberwiseClone | (inherited from Object ) |
Torna all'inizio
Vedere anche
Riferimento
JobHistoryFilter Class
Microsoft.SqlServer.Management.Smo.Agent Namespace
Altre risorse
Scheduling Automatic Administrative Tasks in SQL Server Agent
Automatizzazione delle attività amministrative (SQL Server Agent)