Condividi tramite


Metodo PurgeJobHistory

Removes all logged records of SQL Server Agent jobs.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub PurgeJobHistory
'Utilizzo
Dim instance As JobServer

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