EnumHistory 方法 (JobHistoryFilter)

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

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function EnumHistory ( _
    filter As JobHistoryFilter _
) As DataTable
用法
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

参数

返回值

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