SPSiteOpenWebOptions enumeration

SharePoint 2013

Specifies different options that can be passed to OpenWeb.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public enum SPSiteOpenWebOptions

Member nameDescription
NoneDirectly call SPSite.OpenWeb(string strUrl). Value = 0.
InitNavigationCacheWhen the returned SPWeb object is initialized, cached navigation data is loaded. Value = 1.