Partager via


EnumHistory méthode

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function EnumHistory As DataTable
'Utilisation
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

Valeur de retour

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