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.SPSite
A site collection to process.
- webProcessor
Type: Microsoft.Office.Server.Utilities.ContentIterator.WebProcessor
The callout to process each web.
- errorCallout
Type: Microsoft.Office.Server.Utilities.ContentIterator.WebProcessorErrorCallout
The optional callout to handle errors.