Compartilhar via


Método PurgeJobHistory

Removes all logged records of SQL Server Agent jobs.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub PurgeJobHistory
'Uso
Dim instance As JobServer

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