JobServer.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()
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo.Agent 命名空間