EnumHistory méthode (JobHistoryFilter)

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 ( _
    filter As JobHistoryFilter _
) As DataTable
'Utilisation
Dim instance As Job
Dim filter As JobHistoryFilter
Dim returnValue As DataTable

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

Paramètres

Valeur de retour

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