Share via


ContentIterator.ProcessSite method (SPSite, Boolean, ContentIterator.WebProcessor, ContentIterator.WebProcessorErrorCallout)

Processes all SPSite objects within the site collection.

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

Syntax

'Declaration
Public Sub ProcessSite ( _
    site As SPSite, _
    fSetThreadCulture As Boolean, _
    webProcessor As ContentIterator.WebProcessor, _
    errorCallout As ContentIterator.WebProcessorErrorCallout _
)
'Usage
Dim instance As ContentIterator
Dim site As SPSite
Dim fSetThreadCulture As Boolean
Dim webProcessor As ContentIterator.WebProcessor
Dim errorCallout As ContentIterator.WebProcessorErrorCallout

instance.ProcessSite(site, fSetThreadCulture, _
    webProcessor, errorCallout)
public void ProcessSite(
    SPSite site,
    bool fSetThreadCulture,
    ContentIterator.WebProcessor webProcessor,
    ContentIterator.WebProcessorErrorCallout errorCallout
)

Parameters

  • fSetThreadCulture
    Type: System.Boolean

    Whether the thread’s culture settings should be set to match the web’s locale.

Remarks

If the fSetThreadCulture parameter is true, then before each call to webProcessor, Thread.CurrentThread.CurrentCulture is set to SPWeb.Locale and Thread.CurrentThread.CurrentUICulture is set to SPWeb.UICulture.

See also

Reference

ContentIterator class

ContentIterator members

ProcessSite overload

Microsoft.Office.Server.Utilities namespace