PurgeJobHistory 方法
Removes all logged records of SQL Server Agent jobs.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub PurgeJobHistory
用法
Dim instance As JobServer
instance.PurgeJobHistory()
public void PurgeJobHistory()
public:
void PurgeJobHistory()
member PurgeJobHistory : unit -> unit
public function PurgeJobHistory()