PurgeHistory Method

SQL-DMO

SQL-DMO

PurgeHistory Method

The PurgeHistory method removes system records maintaining execution history for the referenced Microsoft® SQL Server™ 2000 Agent job.

Applies To
Job Object
Syntax

object.PurgeHistory()

Parts

object

Expression that evaluates to an object in the Applies To list

Prototype (C/C++)

HRESULT PurgeHistory();