共用方式為


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

參數

傳回值

型別:System.Data. . :: . .DataTable
A DataTable object value that contains a table of information about SQL Server Agent job history.