JobServer.EnumJobHistory Method (JobHistoryFilter)


Enumerates a list of job history information.

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

public DataTable EnumJobHistory(
	JobHistoryFilter filter


Type: Microsoft.SqlServer.Management.Smo.Agent.JobHistoryFilter

A JobHistoryFilter object value that is used to specify constraints that restrict the job records that are purged.

Return Value

Type: System.Data.DataTable

A DataTable object value that contains a table of information about SQL Server Agent job history.

Return to top