Partager via


PurgeJobHistory méthode

Removes all logged records of SQL Server Agent jobs.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub PurgeJobHistory
'Utilisation
Dim instance As JobServer

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