EnumHistory Método (JobHistoryFilter)
Enumerates a list of execution history associated with the referenced job.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Function EnumHistory ( _
filter As JobHistoryFilter _
) As DataTable
'Uso
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
Parámetros
- filter
Tipo: Microsoft.SqlServer.Management.Smo.Agent. . :: . .JobHistoryFilter
A JobHistoryFilter object value that specifies constraints on the data returned.
Valor devuelto
Tipo: System.Data. . :: . .DataTable
A DataTable object value that contains execution history data for the referenced job.