This topic has not yet been rated - Rate this topic

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)
public void UpdateContentFromSourceDocument(
	PageConversionPriority priority
)

Parameters

priority
Type: Microsoft.SharePoint.Publishing.PageConversionPriority
The PageConversionPriority enumeration for the conversion.
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.

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

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ