JobServer.EnumJobHistory Method

Definition

Overloads

EnumJobHistory()
EnumJobHistory(JobHistoryFilter)

The EnumHistory method returns a DataTable object that enumerates the execution history of all jobs.

EnumJobHistory()

public System.Data.DataTable EnumJobHistory ();
member this.EnumJobHistory : unit -> System.Data.DataTable
Public Function EnumJobHistory () As DataTable

Returns

DataTable

EnumJobHistory(JobHistoryFilter)

The EnumHistory method returns a DataTable object that enumerates the execution history of all jobs.

public System.Data.DataTable EnumJobHistory (Microsoft.SqlServer.Management.Smo.Agent.JobHistoryFilter filter);
member this.EnumJobHistory : Microsoft.SqlServer.Management.Smo.Agent.JobHistoryFilter -> System.Data.DataTable
Public Function EnumJobHistory (filter As JobHistoryFilter) As DataTable

Parameters

filter
JobHistoryFilter

A JobHistoryFilter object that restricts result set membership.

Returns

DataTable

Applies to