Job.EnumHistory Method

Enumerates a list of execution history associated with the referenced job.

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

Syntax

'Declaration
Public Function EnumHistory As DataTable
'Usage
Dim instance As Job
Dim returnValue As DataTable

returnValue = instance.EnumHistory()
public DataTable EnumHistory()
public:
DataTable^ EnumHistory()
member EnumHistory : unit -> DataTable 
public function EnumHistory() : DataTable

Return Value

Type: System.Data.DataTable
A DataTable object value that contains execution history data for the referenced job.