Compartilhar via


PublishingService classe

A interface SOAP para o serviço de publicação na Web.

Inheritance hierarchy

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

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

Sintaxe

'Declaração
<WebServiceBindingAttribute(ConformsTo := WsiProfiles.BasicProfile1_1)> _
<WebServiceAttribute(Namespace := "https://schemas.microsoft.com/sharepoint/soap/")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class PublishingService _
    Inherits WebService
'Uso
Dim instance As PublishingService
[WebServiceBindingAttribute(ConformsTo = WsiProfiles.BasicProfile1_1)]
[WebServiceAttribute(Namespace = "https://schemas.microsoft.com/sharepoint/soap/")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class PublishingService : WebService

Comentários

O serviço de publicação é responsável por criar objetos PageLayout , desconectando-se objetos de PageLayout de PublishingPage objetos e reconectar os objetos PageLayout aos objetos PublishingPage ao qual estava conectados.

Além disso, você pode usar esta classe para exportar ou importar objetos PublishingPage entre objetos de PublishingWeb de origem e de destino, obtenha o status de um objeto de publicação ou coleção de publicação de objetos e muito mais.

Segurança de thread

Os membros públicos estática (Shared no Visual Basic) desse tipo são seguros para thread. Nenhum membro de instância pode ser garantido como seguro para thread.

Ver também

Referência

PublishingService membros

Microsoft.SharePoint.Publishing.WebServices namespace

CreatePageLayout

DisconnectPageLayout

ReconnectPageLayout

ExportObjects(String)

ImportObjects(String, [])

Wait(Int32)