EnumJobHistory 方法 (JobHistoryFilter)
Enumerates a list of job history information.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Function EnumJobHistory ( _
filter As JobHistoryFilter _
) As DataTable
用法
Dim instance As JobServer
Dim filter As JobHistoryFilter
Dim returnValue As DataTable
returnValue = instance.EnumJobHistory(filter)
public DataTable EnumJobHistory(
JobHistoryFilter filter
)
public:
DataTable^ EnumJobHistory(
JobHistoryFilter^ filter
)
member EnumJobHistory :
filter:JobHistoryFilter -> DataTable
public function EnumJobHistory(
filter : JobHistoryFilter
) : DataTable
参数
- filter
类型:Microsoft.SqlServer.Management.Smo.Agent. . :: . .JobHistoryFilter
A JobHistoryFilter object value that is used to specify constraints that restrict the job records that are purged.
返回值
类型:System.Data. . :: . .DataTable
A DataTable object value that contains a table of information about SQL Server Agent job history.