PurgeHistory Method

SQLServer.Executive.Task Object

Description

Purges the history for this task. Set the properties of a created HistoryFilter object as desired and pass it to the PurgeHistory method.

Visual Basic

Task.PurgeHistory ( [[HistoryFilter :=] HistoryFilter] )

C++

HRESULT pTask->PurgeHistory ( LPSQLOLEHISTORYFILTER HistoryFilter = NULL );

Elements

Element Type Description

HistoryFilter HistoryFilter HistoryFilter object

Reference

sp_purgehistory