Metodo JobServer.EnumJobHistory (JobHistoryFilter)
Enumerates a list of job history information.
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Function EnumJobHistory ( _
filter As JobHistoryFilter _
) As DataTable
'Utilizzo
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
Parametri
- filter
Tipo: Microsoft.SqlServer.Management.Smo.Agent.JobHistoryFilter
A JobHistoryFilter object value that is used to specify constraints that restrict the job records that are purged.
Valore restituito
Tipo: System.Data.DataTable
A DataTable object value that contains a table of information about SQL Server Agent job history.
Esempi
Pianificazione delle attività amministrative automatiche in SQL Server Agent
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo.Agent
Altre risorse
Automatizzazione delle attività amministrative (SQL Server Agent)