PublishingService Class

The SOAP interface for the Publishing Web Service.

System.Object
  System.ComponentModel.MarshalByValueComponent
    System.Web.Services.WebService
      Microsoft.SharePoint.Publishing.WebServices.PublishingService

Namespace:  Microsoft.SharePoint.Publishing.WebServices
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

[WebServiceAttribute(Namespace = "http://schemas.microsoft.com/sharepoint/soap/")]
[WebServiceBindingAttribute(ConformsTo = WsiProfiles.BasicProfile1_1)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class PublishingService : WebService

The Publishing Service is responsible for creating PageLayout objects, disconnecting PageLayout objects from PublishingPage objects, and reconnecting those PageLayout objects to the PublishingPage objects to which they were connected.

Additionally, you can use this class to export or import PublishingPage objects between source and target PublishingWeb objects, get status of a publishing object or collection of publishing objects, and more.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: