PurgeHistory 方法
Removes system records maintaining execution history for the referenced job.
命名空間: Microsoft.SqlServer.Management.Smo.Agent
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub PurgeHistory
'用途
Dim instance As Job
instance.PurgeHistory()
public void PurgeHistory()
public:
void PurgeHistory()
member PurgeHistory : unit -> unit
public function PurgeHistory()