PublishingWeb Members
Include Protected Members
Include Inherited Members
The PublishingWeb class provides publishing behavior for an SPWeb instance that supports publishing. This class cannot be inherited.
The PublishingWeb type exposes the following members.
Properties
Name | Description | |
---|---|---|
AlternateCssUrl | Gets the URL that points to the alternate Cascading Style Sheet (CSS) file for this PublishingWeb object. | |
AnonymousPageCacheProfileId | Gets or sets the ID of the ASP.NET output cache profile for this PublishingWeb object. | |
Audience | Gets or sets a string representing the audience whom this PublishingWeb targets. | |
AuthenticatedPageCacheProfileId | Gets or sets the ID of the authenticated page output cache profile for this PublishingWeb object. | |
CreatedBy | Gets the SPUser who created this PublishingWeb object. | |
CreatedDate | Gets the date and time that this PublishingWeb was created. | |
CurrentNavigationNodes | Collection of SPNavigation nodes in the current SPNavigationNodeCollection object. | |
CustomMasterUrl | Gets the custom master URL for this PublishingWeb object. | |
DefaultDefaultPageName | Gets the default URL name for the Welcome page for this PublishingWeb object. | |
DefaultPage | Gets and sets the Welcome page for this PublishingWeb object. | |
DefaultPagesListName | Gets the default URL name that is used for the pages list in the existing locale for this PublishingWeb object. | |
Description | Gets or sets the description string for this PublishingWeb object. | |
GlobalNavigationNodes | A collection of SPNavigationNode objects included in global navigation. | |
IncludeInCurrentNavigation | Controls whether this Web site is included by PortalSiteMapProvider objects that have NavigationType set to "Current". | |
IncludeInGlobalNavigation | Controls whether this Web site is included by PortalSiteMapProvider objects that have NavigationType set to "Global". | |
IncludePagesInNavigation | Determines whether to automatically include pages in navigation. | |
IncludeSubSitesInNavigation | Determines whether to automatically include subsites, or any type of SPWeb object, in navigation. | |
InheritCurrentNavigation | Gets or sets whether the PublishingWeb object inherits the current navigation behavior. | |
InheritGlobalNavigation | Controls whether this PublishingWeb object should display its own global navigation or should use the global navigation of its parent. | |
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. | |
IsAllowingAllWebTemplates | Gets a Boolean value that indicates whether the available Web templates that are returned by the GetAvailableWebTemplates() method are the complete set. | |
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. | |
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. | |
IsRoot | Gets a Boolean value that determines whether this PublishingWeb object is the root SPWeb object. | |
Label | Gets the VariationLabel object in whose hierarchy this PublishingWeb object is situated. | |
LastModifiedDate | Gets the date and time that an item in this PublishingWeb object was last modified. | |
MasterUrl | Gets the master URL for this PublishingWeb object. | |
Name | Gets or sets the URL name of this PublishingWeb object. | |
NavigationAutomaticSortingMethod | Controls the property to use when automatically sorting navigation items owned by this PublishingWeb object. | |
NavigationOrderingMethod | Controls the ordering of navigation items owned by this PublishingWeb object. | |
NavigationShowSiblings | Controls whether this Web site should display siblings of the current Web site in current navigation. | |
NavigationSortAscending | Gets or sets a Boolean value that indicates whether navigation of this PublishingWeb object is sorted in ascending or descending order. | |
PagesList | Gets the pages list in which PublishingPage objects are stored for this PublishingWeb object. | |
PagesListId | Gets or sets the ID of the pages list in which the PublishingPage objects are stored for this PublishingWebobject. | |
PagesListName | Gets or sets the URL name of the pages list in which PublishingPage objects are stored for this PublishingWebobject. | |
ParentPublishingWeb | Gets the parent SPWeb object as a PublishingWebinstance. | |
Title | Gets or sets the title of the PublishingWeb object. | |
Uri | Gets the URI of this PublishingWeb object. | |
Url | Gets the URL for this PublishingWeb object. | |
VariationPublishingWebUrls | Gets a collection of URLs of the variant publishing Webs associated with this PublishingWeb object | |
Web | Gets the SPWeb object that is wrapped by this PublishingWeb instance. |
Top
Methods
Name | Description | |
---|---|---|
AllowAllPageLayouts | Resets the available PageLayoutobjects on this PublishingWeb to the complete set of layouts. | |
AllowAllWebTemplates | Resets the available Web templates on this PublishingWeb object to the complete set of Web templates. | |
Close | Closes the wrapped SPWeb object if it was instantiated internally. | |
Delete() | Deletes the current PublishingWeb object. | |
Delete(Boolean) | Deletes the current PublishingWeb instance and potentially all sites in the subtree with a node in this PublishingWeb. | |
Equals | (Inherited from Object.) | |
ExcludeFromNavigation | Explicitly excludes a subsite or page from navigation. | |
Finalize | (Inherited from Object.) | |
GetAvailableCrossLanguageWebTemplates | Returns the cross-language Web templates available for creating subsites below this PublishingWeb. | |
GetAvailablePageLayouts() | Returns the PageLayout objects available for creating PublishingPage objects within this PublishingWeb. | |
GetAvailablePageLayouts(SPContentTypeId) | Returns the PageLayout objects available for creating PublishingPage objects within this PublishingWeb object, filtered by an associated SPContentTypeId object. | |
GetAvailableWebTemplates | Returns the Web templates available for creating subsites below this PublishingWeb. | |
GetHashCode | (Inherited from Object.) | |
GetPagesListId | The ID of the pages list in which PublishingPage objects are stored for this PublishingWeb object. | |
GetPagesListName | The URL name of the pages list in which PublishingPage objects are stored for this PublishingWeb. | |
GetPublishingPages() | Gets a collection of PublishingPage objects contained in this PublishingWeb object. | |
GetPublishingPages(SPQuery) | Gets a collection of PublishingPage objects contained in this PublishingWeb object. | |
GetPublishingPages(String) | Gets a collection of PublishingPage objects contained in this PublishingWeb object. | |
GetPublishingPages(UInt32) | Gets a collection of PublishingPage objects contained in this PublishingWeb object. | |
GetPublishingPages(String, UInt32) | Gets a collection of PublishingPage objects that are contained in this PublishingWeb object. | |
GetPublishingWeb | Static method to retrieve an instance of the PublishingWeb that wraps the specified SPWeb object. | |
GetPublishingWebs | Returns child PublishingWeb objects immediately below this PublishingWeb object. | |
GetType | (Inherited from Object.) | |
GetVariation | Get the peer Variation Publishing Web of this PublishingWeb object for the given varlabel. | |
GetVariationUrlFromSourceUrl | Returns the current Variation URL for the current PublishingWeb object for a specific source PublishingWeb location. | |
IncludeInNavigation | Explicitly includes a subsite or a page in navigation. | |
InheritAvailablePageLayouts | Sets the PageLayouts available on this PublishingWeb object to be inherited from the parent PublishingWeb object. | |
InheritAvailableWebTemplates | Available Web templates that are associated with this PublishingWeb object and that are inherited from the parent PublishingWeb class. | |
IsPublishingWeb | Checks the SPWeb object to verify whether it is a PublishingWeb object. | |
MemberwiseClone | (Inherited from Object.) | |
SetAvailableCrossLanguageWebTemplates | Specifies the cross-language Web templates that are available for creating subsites below this PublishingWeb object. | |
SetAvailablePageLayouts | Specifies PageLayout objects that are available for use in creating PublishingPage objects within this PublishingWeb object. | |
SetAvailableWebTemplates | Specifies the Web templates that are available for creating subsites below this PublishingWeb object for a specific locale | |
ToString | (Inherited from Object.) | |
Update | Saves changes to this PublishingWeb object. |
Top