PublishingWeb Members
Include Protected Members
Include Inherited Members
Provides publishing behavior for an SPWeb instance that supports publishing.
The PublishingWeb type exposes the following members.
Properties
Name | Description | |
---|---|---|
AlternateCssUrl | Gets the URL that points to the alternate cascading style sheets (CSS) file for this PublishingWeb object. | |
AnonymousPageCacheProfileId | Gets or sets the identifier (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 identifier (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. | |
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. | |
DefaultPageLayout | Gets the URL token that is used when creating “one-click” pages within this PublishingWeb. | |
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. | |
DocumentsLibrary | Gets the designated Documents list of the current PublishingWeb object. | |
ImagesLibrary | Gets the specified Images list of the current PublishingWeb object. | |
IncludeInCurrentNavigation | Controls whether this Web site is included by PortalSiteMapProvider objects that have NavigationType set to Current. | |
IncludeInGlobalNavigation | Gets or sets a value that indicates whether this Web site is included by PortalSiteMapProvider objects that have NavigationType set to Global. | |
IncludePagesInNavigation | Obsolete. Gets or sets a value that indicates whether to automatically include pages in navigation. | |
IncludeSubSitesInNavigation | Obsolete. Gets or sets a value that indicates whether to automatically include subsites, or any type of SPWeb object, in navigation. | |
InheritCurrentNavigation | Obsolete. Gets or sets a value that indicates whether the current navigation should be inherited. | |
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. | |
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 GetAvailablePageLayouts method 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. | |
IsInheritingDefaultPageLayout | Specifies the page layout that will be used when creating “one-click” pages within this PublishingWeb object through the UI. | |
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. | |
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. | |
Navigation | Gets a PortalNavigation object that represents the navigation settings for the current publishing Web. | |
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. | |
NavigationOrderingMethod | Obsolete. Gets or sets an enumeration value that indicates the ordering of navigation items owned by this PublishingWeb object. | |
NavigationShowSiblings | Obsolete. Gets or sets a value that indicates whether this Web site should display siblings of the current Web site in current navigation. | |
NavigationSortAscending | Obsolete. Gets or sets a Boolean value that indicates whether navigation of this PublishingWeb object is sorted in ascending or descending order. | |
NewPageUrlToken | Gets the URL token that is usede when creating “one-click” pages within the current PublishingWeb object. | |
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 PublishingWeb object. | |
ParentPublishingWeb | Gets the parent SPWeb object as a PublishingWeb instance. | |
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. | |
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 | |
---|---|---|
AddPublishingPage() | Creates a new PublishingPage object in the PublishingWeb. | |
AddPublishingPage(String, PageLayout) | Creates a new PublishingPage object in the PublishingWeb. | |
AddPublishingPage(String, PageLayout, SPFolder) | Creates a new PublishingPage object in the PublishingWeb. | |
AddPublishingPage(String, SPFile, Guid, PageConversionPriority) | Creates a new PublishingPage object in the PublishingWeb. | |
AddPublishingPage(String, SPFile, Guid, PageConversionPriority, SPFolder) | Creates a new PublishingPage object in the PublishingWeb. | |
AddPublishingPage(String, SPFile, Guid, String, PageConversionPriority) | Creates a new PublishingPage object in the PublishingWeb. | |
AddPublishingPage(String, SPFile, Guid, String, PageConversionPriority, SPFolder) | Creates a new PublishingPage object in the PublishingWeb. | |
AllowAllPageLayouts | Resets the available PageLayout objects 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. | |
DisableScheduling | Disables scheduling behavior on an SPList object. | |
EnableScheduling | Enables scheduling behavior on an SPList object. | |
Equals | (Inherited from Object.) | |
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.) | |
GetIsSchedulingEnabled | Returns the web templates that are available for creating subsites below this PublishingWeb object. | |
GetPagesListId | Returns 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. | |
GetPublishingPage(Int32) | This member is reserved for internal use and is not intended to be used directly from your code. | |
GetPublishingPage(String) | This member is reserved for internal use and is not intended to be used directly from your code. | |
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 | Retrieves 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(VariationLabel) | Gets the peer Variation Publishing site of this PublishingWeb object for the given varlabel. | |
GetVariation(VariationLabel, Boolean) | Get the peer variation PublishingWeb object of this PublishingWeb object for the given label. | |
GetVariationUrlFromSourceUrl | Returns the current Variation URL for the current PublishingWeb object for a specific source PublishingWeb location. | |
InheritAvailablePageLayouts | Sets the PageLayouts available on this PublishingWeb object to be inherited from the parent PublishingWeb object. | |
InheritAvailableWebTemplates | Sets the available web templates on this PublishingWeb to be inherited from the parent PublishingWeb. | |
InheritDefaultPageLayout | Sets the new page URL token on this PublishingWeb object to be inherited from the parent PublishingWeb object. | |
InheritNewPageUrlToken | This member is reserved for internal use and is not intended to be used directly from your code. | |
IsPublishingWeb | Checks the SPWeb object to verify whether it is a PublishingWeb object. | |
IterateOverAllPages | Iterates over all PublishingPage objects in the current PublishingWeb object and processes each PublishingPage by using the given delegate. | |
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 | |
SetDefaultPageLayout | Specifies the URL token that will be used when creating “one-click” pages within the current PublishingWeb object. | |
SetNewPageUrlToken | Sets the available web templates on this PublishingWeb object to be inherited from the parent PublishingWeb object. | |
ToString | (Inherited from Object.) | |
Update | Saves changes to this PublishingWeb object. |
Top