PurgeHistory Method (SQL-DMO)

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

Applies To

Job Object

Syntax

object.PurgeHistory( )

Part Description
object Expression that evaluates to an object in the Applies To list

Prototype (C/C++)

HRESULT PurgeHistory();

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.