共用方式為


IterationGranularity Enumeration

The granularity of the iteration.

Namespace:  Microsoft.Office.Server.Utilities
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Enumeration IterationGranularity
'Usage
Dim instance As IterationGranularity
public enum IterationGranularity

Members

Member name Description
Item Indicates that the timer job will be stopped as soon as the current item being processed is finished.
List Indicates that the timer job will be stopped as soon as the current list being processed is finished.
Web Indicates that the timer job will be stopped as soon as the current subsite being processed is finished.
SiteCollection Indicates that the timer job will be stopped as soon as the current site collection being processed is finished.
WebApplication Indicates that the timer job will be stopped as soon as the current Web application being processed is finished.
Service Indicates that the timer job will be stopped as soon as the current service being processed is finished.

Remarks

Used by the TimerJobUtility class to support pausing and resuming iterations at different scopes.

See Also

Reference

Microsoft.Office.Server.Utilities Namespace

ShouldCancel(IterationGranularity)

CancellationGranularity

ResumeGranularity