JobServer.EnumJobHistory Method
Enumerates a list of SQL Server Agent job history information.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function EnumJobHistory As DataTable
'Usage
Dim instance As JobServer
Dim returnValue As DataTable
returnValue = instance.EnumJobHistory()
public DataTable EnumJobHistory()
public:
DataTable^ EnumJobHistory()
member EnumJobHistory : unit -> DataTable
public function EnumJobHistory() : DataTable
Return Value
Type: System.Data.DataTable
A DataTable object value that contains a table of information about SQL Server Agent job history.
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace