PublishingPage.UpdateContentFromSourceDocument method

NOTE: This API is now obsolete.

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
<ObsoleteAttribute("This member is obsolete - use the specialized Office services instead",  _
    False)> _
Public Sub UpdateContentFromSourceDocument ( _
    priority As PageConversionPriority _
)
'Usage
Dim instance As PublishingPage
Dim priority As PageConversionPriority

instance.UpdateContentFromSourceDocument(priority)
[ObsoleteAttribute("This member is obsolete - use the specialized Office services instead", 
    false)]
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