Export (0) Print
Expand All

PublishingWeb properties

The PublishingWeb type exposes the following members.

  Name Description
Public property AlternateCssUrl Gets the URL that points to the alternate cascading style sheets (CSS) file for this PublishingWeb object.
Public property AnonymousPageCacheProfileId Gets or sets the identifier (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 identifier (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 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 DefaultPageLayout Gets the URL token that is used when creating “one-click” pages within this PublishingWeb.
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 DocumentsLibrary Gets the designated Documents list of the current PublishingWeb object.
Public property ImagesLibrary Gets the specified Images list of the current PublishingWeb object.
Public property IncludeInCurrentNavigation Controls whether this Web site is included by PortalSiteMapProvider objects that have NavigationType set to Current.
Public property IncludeInGlobalNavigation Gets or sets a value that indicates whether this Web site is included by PortalSiteMapProvider objects that have NavigationType set to Global.
Public property IncludePagesInNavigation Obsolete. Gets or sets a value that indicates whether to automatically include pages in navigation.
Public property IncludeSubSitesInNavigation Obsolete. Gets or sets a value that indicates whether to automatically include subsites, or any type of SPWeb object, in navigation.
Public property InheritCurrentNavigation Obsolete. Gets or sets a value that indicates whether the current navigation should be inherited.
Public property InheritGlobalNavigation Obsolete. Gets or sets a value that indicates 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 GetAvailablePageLayouts method 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 IsInheritingDefaultPageLayout Specifies the page layout that will be used when creating “one-click” pages within this PublishingWeb object through the UI.
Public property IsInheritingNewPageUrlToken Gets a Boolean value indicating whether the new page URL token that is returned by the NewPageUrlToken property is inherited from the parent PublishingWeb object.
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 Navigation Gets a PortalNavigation object that represents the navigation settings for the current publishing Web.
Public property NavigationAutomaticSortingMethod Obsolete. Gets or sets an enumeration value which indicates the sort method to use when automatically sorting navigation items owned by this PublishingWeb object.
Public property NavigationOrderingMethod Obsolete. Gets or sets an enumeration value that indicates the ordering of navigation items owned by this PublishingWeb object.
Public property NavigationShowSiblings Obsolete. Gets or sets a value that indicates whether this Web site should display siblings of the current Web site in current navigation.
Public property NavigationSortAscending Obsolete. Gets or sets a Boolean value that indicates whether navigation of this PublishingWeb object is sorted in ascending or descending order.
Public property NewPageUrlToken Gets the URL token that is usede when creating “one-click” pages within the current PublishingWeb object.
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 PublishingWeb object.
Public property ParentPublishingWeb Gets the parent SPWeb object as a PublishingWeb instance.
Public property ThemedCssFolderUrl Gets the URL of the folder containing the themed CSS for the current PublishingWeb object, or a null reference (Nothing in Visual Basic) if no theme is applied.
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
Show:
© 2015 Microsoft