ContentIterator.ProcessSite method (SPSite, ContentIterator.WebProcessor, ContentIterator.WebProcessorErrorCallout)
Processes all SPSite objects within a site collection.
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Sub ProcessSite ( _
site As SPSite, _
webProcessor As ContentIterator.WebProcessor, _
errorCallout As ContentIterator.WebProcessorErrorCallout _
)
'Usage
Dim instance As ContentIterator
Dim site As SPSite
Dim webProcessor As ContentIterator.WebProcessor
Dim errorCallout As ContentIterator.WebProcessorErrorCallout
instance.ProcessSite(site, webProcessor, _
errorCallout)
public void ProcessSite(
SPSite site,
ContentIterator.WebProcessor webProcessor,
ContentIterator.WebProcessorErrorCallout errorCallout
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteA site collection to process.
webProcessor
Type: Microsoft.Office.Server.Utilities.ContentIterator.WebProcessorThe callout to process each web.
errorCallout
Type: Microsoft.Office.Server.Utilities.ContentIterator.WebProcessorErrorCalloutThe optional callout to handle errors.