SQLServer.Executive.Task Object
Purges the history for this task. Set the properties of a created HistoryFilter object as desired and pass it to the PurgeHistory method.
Task.PurgeHistory ( [[HistoryFilter :=] HistoryFilter] )
HRESULT pTask->PurgeHistory ( LPSQLOLEHISTORYFILTER HistoryFilter = NULL );
Element | Type | Description |
---|
HistoryFilter | HistoryFilter | HistoryFilter object |
sp_purgehistory