Share via


PublishingPage.UpdateContentFromSourceDocument Method

Updates a PublishingPageobject created by converting a document and reruns the conversion.

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

Syntax

'Declaration
Public Sub UpdateContentFromSourceDocument ( _
    priority As PageConversionPriority _
)
'Usage
Dim instance As PublishingPage
Dim priority As PageConversionPriority

instance.UpdateContentFromSourceDocument(priority)
public void UpdateContentFromSourceDocument(
    PageConversionPriority priority
)

Parameters

Exceptions

Exception Condition
ArgumentException

A document was not converted to create this page.

DocumentToPublishingPageConversionException

The update operation failed or succeeded with warnings.

[Microsoft.SharePoint.SPException]

The update operation failed.

Remarks

Rerunning the conversion updates the contents of this PublishingPage with the contents of the document.

See Also

Reference

PublishingPage Class

PublishingPage Members

Microsoft.SharePoint.Publishing Namespace

Add

Add