PublishingWeb Properties

The PublishingWeb type exposes the following members.

  NameDescription
Public property AlternateCssUrl Gets the URL that points to the alternate Cascading Style Sheet (CSS) file for this PublishingWeb object.
Public property AnonymousPageCacheProfileId Gets or sets the ID of the ASP.NET output cache profile for this PublishingWeb object.
Public property Audience Gets or sets a string representing the audience whom this PublishingWeb targets.
Public property AuthenticatedPageCacheProfileId Gets or sets the ID of the authenticated page output cache profile for this PublishingWeb object.
Public property CreatedBy Gets the SPUser who created this PublishingWeb object.
Public property CreatedDate Gets the date and time that this PublishingWeb was created.
Public property CurrentNavigationNodes Collection of SPNavigation nodes in the current SPNavigationNodeCollection object.
Public property CustomMasterUrl Gets the custom master URL for this PublishingWeb object.
Public property Static member DefaultDefaultPageName Gets the default URL name for the Welcome page for this PublishingWeb object.
Public property DefaultPage Gets and sets the Welcome page for this PublishingWeb object.
Public property Static member DefaultPagesListName Gets the default URL name that is used for the pages list in the existing locale for this PublishingWeb object.
Public property Description Gets or sets the description string for this PublishingWeb object.
Public property GlobalNavigationNodes A collection of SPNavigationNode objects included in global navigation.
Public property IncludeInCurrentNavigation Controls whether this Web site is included by PortalSiteMapProvider objects that have NavigationType set to "Current".
Public property IncludeInGlobalNavigation Controls whether this Web site is included by PortalSiteMapProvider objects that have NavigationType set to "Global".
Public property IncludePagesInNavigation Determines whether to automatically include pages in navigation.
Public property IncludeSubSitesInNavigation Determines whether to automatically include subsites, or any type of SPWeb object, in navigation.
Public property InheritCurrentNavigation Gets or sets whether the PublishingWeb object inherits the current navigation behavior.
Public property InheritGlobalNavigation Controls whether this PublishingWeb object should display its own global navigation or should use the global navigation of its parent.
Public property IsAllowingAllPageLayouts Gets a Boolean value that indicates whether the available PageLayout objects that are returned by the GetAvailablePageLayouts method are the complete set of page layouts.
Public property IsAllowingAllWebTemplates Gets a Boolean value that indicates whether the available Web templates that are returned by the GetAvailableWebTemplates() method are the complete set.
Public property IsInheritingAvailablePageLayouts Gets a Boolean value that indicates whether the available PageLayout objects that are returned by the GetAvailablePageLayoutsmethod are inherited from the parent PublishingWeb() object.
Public property IsInheritingAvailableWebTemplates Gets a Boolean value that indicates whether the available Web templates that are returned by the GetAvailableWebTemplates() method are inherited from the parent PublishingWeb.
Public property IsRoot Gets a Boolean value that determines whether this PublishingWeb object is the root SPWeb object.
Public property Label Gets the VariationLabel object in whose hierarchy this PublishingWeb object is situated.
Public property LastModifiedDate Gets the date and time that an item in this PublishingWeb object was last modified.
Public property MasterUrl Gets the master URL for this PublishingWeb object.
Public property Name Gets or sets the URL name of this PublishingWeb object.
Public property NavigationAutomaticSortingMethod Controls the property to use when automatically sorting navigation items owned by this PublishingWeb object.
Public property NavigationOrderingMethod Controls the ordering of navigation items owned by this PublishingWeb object.
Public property NavigationShowSiblings Controls whether this Web site should display siblings of the current Web site in current navigation.
Public property NavigationSortAscending Gets or sets a Boolean value that indicates whether navigation of this PublishingWeb object is sorted in ascending or descending order.
Public property PagesList Gets the pages list in which PublishingPage objects are stored for this PublishingWeb object.
Public property PagesListId Gets or sets the ID of the pages list in which the PublishingPage objects are stored for this PublishingWebobject.
Public property PagesListName Gets or sets the URL name of the pages list in which PublishingPage objects are stored for this PublishingWebobject.
Public property ParentPublishingWeb Gets the parent SPWeb object as a PublishingWebinstance.
Public property Title Gets or sets the title of the PublishingWeb object.
Public property Uri Gets the URI of this PublishingWeb object.
Public property Url Gets the URL for this PublishingWeb object.
Public property VariationPublishingWebUrls Gets a collection of URLs of the variant publishing Webs associated with this PublishingWeb object
Public property Web Gets the SPWeb object that is wrapped by this PublishingWeb instance.
Top

Community Additions

ADD
Show: