PublishingWeb methods
SharePoint 2013
The PublishingWeb type exposes the following members.
| 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) | Obsolete. Creates a new PublishingPage object in the PublishingWeb. |
|
AddPublishingPage(String, SPFile, Guid, PageConversionPriority, SPFolder) | Obsolete. 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. |