Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PublishingWeb methods

The PublishingWeb type exposes the following members.

  Name Description
Public method AddPublishingPage() Creates a new PublishingPage object in the PublishingWeb.
Public method AddPublishingPage(String, PageLayout) Creates a new PublishingPage object in the PublishingWeb.
Public method AddPublishingPage(String, PageLayout, SPFolder) Creates a new PublishingPage object in the PublishingWeb.
Public method AddPublishingPage(String, SPFile, Guid, PageConversionPriority) Obsolete. Creates a new PublishingPage object in the PublishingWeb.
Public method AddPublishingPage(String, SPFile, Guid, PageConversionPriority, SPFolder) Obsolete. Creates a new PublishingPage object in the PublishingWeb.
Public method AddPublishingPage(String, SPFile, Guid, String, PageConversionPriority) Creates a new PublishingPage object in the PublishingWeb.
Public method AddPublishingPage(String, SPFile, Guid, String, PageConversionPriority, SPFolder) Creates a new PublishingPage object in the PublishingWeb.
Public method AllowAllPageLayouts Resets the available PageLayout objects on this PublishingWeb to the complete set of layouts.
Public method AllowAllWebTemplates Resets the available Web templates on this PublishingWeb object to the complete set of Web templates.
Public method Close Closes the wrapped SPWeb object if it was instantiated internally.
Public method Delete() Deletes the current PublishingWeb object.
Public method Delete(Boolean) Deletes the current PublishingWeb instance and potentially all sites in the subtree with a node in this PublishingWeb.
Public method Static member DisableScheduling Disables scheduling behavior on an SPList object.
Public method Static member EnableScheduling Enables scheduling behavior on an SPList object.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAvailableCrossLanguageWebTemplates Returns the cross-language Web templates available for creating subsites below this PublishingWeb.
Public method GetAvailablePageLayouts() Returns the PageLayout objects available for creating PublishingPage objects within this PublishingWeb.
Public method GetAvailablePageLayouts(SPContentTypeId) Returns the PageLayout objects available for creating PublishingPage objects within this PublishingWeb object, filtered by an associated SPContentTypeId object.
Public method GetAvailableWebTemplates Returns the Web templates available for creating subsites below this PublishingWeb.
Public method GetHashCode (Inherited from Object.)
Public method Static member GetIsSchedulingEnabled Returns the web templates that are available for creating subsites below this PublishingWeb object.
Public method Static member GetPagesListId Returns ID of the pages list in which PublishingPage objects are stored for this PublishingWeb object.
Public method Static member GetPagesListName The URL name of the pages list in which PublishingPage objects are stored for this PublishingWeb.
Public method GetPublishingPage(Int32) This member is reserved for internal use and is not intended to be used directly from your code.
Public method GetPublishingPage(String) This member is reserved for internal use and is not intended to be used directly from your code.
Public method GetPublishingPages() Gets a collection of PublishingPage objects contained in this PublishingWeb object.
Public method GetPublishingPages(SPQuery) Gets a collection of PublishingPage objects contained in this PublishingWeb object.
Public method GetPublishingPages(String) Gets a collection of PublishingPage objects contained in this PublishingWeb object.
Public method GetPublishingPages(UInt32) Gets a collection of PublishingPage objects contained in this PublishingWeb object.
Public method GetPublishingPages(String, UInt32) Gets a collection of PublishingPage objects that are contained in this PublishingWeb object.
Public method Static member GetPublishingWeb Retrieves an instance of the PublishingWeb that wraps the specified SPWeb object.
Public method GetPublishingWebs Returns child PublishingWeb objects immediately below this PublishingWeb object.
Public method GetType (Inherited from Object.)
Public method GetVariation(VariationLabel) Gets the peer Variation Publishing site of this PublishingWeb object for the given varlabel.
Public method GetVariation(VariationLabel, Boolean) Get the peer variation PublishingWeb object of this PublishingWeb object for the given label.
Public method GetVariationUrlFromSourceUrl Returns the current Variation URL for the current PublishingWeb object for a specific source PublishingWeb location.
Public method InheritAvailablePageLayouts Sets the PageLayouts available on this PublishingWeb object to be inherited from the parent PublishingWeb object.
Public method InheritAvailableWebTemplates Sets the available web templates on this PublishingWeb to be inherited from the parent PublishingWeb.
Public method InheritDefaultPageLayout Sets the new page URL token on this PublishingWeb object to be inherited from the parent PublishingWeb object.
Public method InheritNewPageUrlToken This member is reserved for internal use and is not intended to be used directly from your code.
Public method Static member IsPublishingWeb Checks the SPWeb object to verify whether it is a PublishingWeb object.
Public method IterateOverAllPages Iterates over all PublishingPage objects in the current PublishingWeb object and processes each PublishingPage by using the given delegate.
Protected method MemberwiseClone (Inherited from Object.)
Public method SetAvailableCrossLanguageWebTemplates Specifies the cross-language Web templates that are available for creating subsites below this PublishingWeb object.
Public method SetAvailablePageLayouts Specifies PageLayout objects that are available for use in creating PublishingPage objects within this PublishingWeb object.
Public method SetAvailableWebTemplates Specifies the Web templates that are available for creating subsites below this PublishingWeb object for a specific locale
Public method SetDefaultPageLayout Specifies the URL token that will be used when creating “one-click” pages within the current PublishingWeb object.
Public method SetNewPageUrlToken Sets the available web templates on this PublishingWeb object to be inherited from the parent PublishingWeb object.
Public method ToString (Inherited from Object.)
Public method Update Saves changes to this PublishingWeb object.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.