PublishingWeb class
Provides publishing behavior for a Web instance that supports publishing.
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Client.ClientObject
Microsoft.SharePoint.Client.Publishing.PublishingWeb
Namespace: Microsoft.SharePoint.Client.Publishing
Assembly: Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)
Syntax
'Declaration
Public NotInheritable Class PublishingWeb _
Inherits ClientObject
'Usage
Dim instance As PublishingWeb
public sealed class PublishingWeb : ClientObject
Remarks
The PublishingWeb class provides publishing-specific behavior for a Web that supports publishing, including access to child PublishingPage and PublishingWeb instances, variations support, navigation settings, PageLayout and Web template restrictions, and Welcome page settings. This class wraps a Web instance that has the publishing feature activated.
Instantiate this class by using the static GetPublishingWeb(ClientRuntimeContext, Web) method or by retrieving it from a PublishingWebCollection collection.
The PublishingWeb class wraps the Web class. It also directly exposes the underlying Web through the Web property so that additional Web functionality can be easily accessed.
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.