Condividi tramite


Microsoft.Office.Server.Utilities Namespace

Classes

  Class Description
Public class CommonUtility Represents a common utility object that expands URL tokens, confirms that an object is not null, tries to get fields, and other functions used by the content iterator and timer job APIs.
Public class ContentIterator Provides methods to iterate list items, lists, sites to regulate the amount of data that is transferred (i.e., to avoid throwing a SPQueryThrottledException).
Public class EventReceiverUtility Contains common helper code for writing event receivers.
Public class SharePointTimeZone Represents a time zone.
Public class SPFolderHierarchy This class is an abstraction over the folders in a SharePoint Server list designed to work around limitations in the SharePoint Server object model around iterating the folders in a large list.
Public class TimerJobUtility Extends the ContentIterator class to provide additional functionality that is useful for writing timer jobs.
Public class WorkItemTimerJobState Used to track state for each iteration through processing work items.

Delegates

  Delegate Description
Public delegate ContentIterator.FileProcessor Represents a delegate for processing a file.
Public delegate ContentIterator.FileProcessorErrorCallout Represents a delegate for handling errors that occur when processing a file.
Public delegate ContentIterator.ItemProcessor A delegate that represents a group of settings that indicate how to process individual items in a ContentIterator object.
Public delegate ContentIterator.ItemProcessorErrorCallout Provides logging information when processing items in a list by using a ContentIterator object.
Public delegate ContentIterator.ItemsProcessor Represents a delegate for processing a page of list items.
Public delegate ContentIterator.ItemsProcessorErrorCallout Delegate for handling errors processing a list of items.
Public delegate ContentIterator.ListProcessor Delegate for processing a list.
Public delegate ContentIterator.ListProcessorErrorCallout Delegate for handling errors processing a list.
Public delegate ContentIterator.SiteProcessor Delegate for processing a site.
Public delegate ContentIterator.SiteProcessorErrorCallout Delegate for handling errors processing a site.
Public delegate ContentIterator.SitesProcessor Delegate for processing an enumeration of sites.
Public delegate ContentIterator.WebProcessor Delegate for processing a web.
Public delegate ContentIterator.WebProcessorErrorCallout Delegate for handling errors processing a web.
Public delegate EventReceiverUtility.ItemEventReceiverCodeToRun Delegate for running code in an item event receiver while recovering from version conflicts.
Public delegate EventReceiverUtility.ListEventReceiverCodeToRun Delegate for running code in a list event receiver while recovering from version conflicts.
Public delegate EventReceiverUtility.WebEventReceiverCodeToRun Delegate for running code in a web event receiver while recovering from version conflicts.
Public delegate TimerJobUtility.ProcessWorkItemWithState Delegate to process a single work item with state.

Enumerations

  Enumeration Description
Public enumeration IterationGranularity The granularity of the iteration.