Export (0) Print
Expand All

JobHistoryFilter Class

 

Applies To: SQL Server 2016 Preview

The JobHistoryFilter object is used to store information about the constraints applied to the EnumJobHistory method of the JobServer object.

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

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

public sealed class JobHistoryFilter

NameDescription
System_CAPS_pubmethodJobHistoryFilter()

Initializes a new instance of the JobHistoryFilter class.

NameDescription
System_CAPS_pubpropertyEndRunDate

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.

System_CAPS_pubpropertyJobID

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.

System_CAPS_pubpropertyJobName

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.

System_CAPS_pubpropertyMinimumRetries

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.

System_CAPS_pubpropertyMinimumRunDuration

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.

System_CAPS_pubpropertyOldestFirst

Gets or sets the Boolean property value that specifies whether the jobs are listed in oldest-first order or in newest-first order.

System_CAPS_pubpropertyOutcomeTypes

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.

System_CAPS_pubpropertySqlMessageID

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.

System_CAPS_pubpropertySqlSeverity

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.

System_CAPS_pubpropertyStartRunDate

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.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

Legacy Code Example

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

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft