다음을 통해 공유


PurgeJobHistory 메서드 (JobHistoryFilter)

Removes all logged records of SQL Server Agent jobs as specified by a filter.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub PurgeJobHistory ( _
    filter As JobHistoryFilter _
)
‘사용 방법
Dim instance As JobServer
Dim filter As JobHistoryFilter

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

매개 변수