Поделиться через


Метод PurgeJobHistory (JobHistoryFilter)

Removes all logged records of SQL Server Agent jobs as specified by a filter.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Agent
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub PurgeJobHistory ( _
    filter As JobHistoryFilter _
)
'Применение
Dim instance As JobServer
Dim filter As JobHistoryFilter

instance.PurgeJobHistory(filter)
public void PurgeJobHistory(
    JobHistoryFilter filter
)
public:
void PurgeJobHistory(
    JobHistoryFilter^ filter
)
member PurgeJobHistory : 
        filter:JobHistoryFilter -> unit 
public function PurgeJobHistory(
    filter : JobHistoryFilter
)

Параметры