Share via


IPublishingPageRouter.RoutePublishingPage method

Routes a PublishingPage object.

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

Syntax

'Declaration
Function RoutePublishingPage ( _
    originalPage As PublishingPage, _
    checkinComment As String, _
    <OutAttribute> ByRef finalDestination As String _
) As Boolean
'Usage
Dim instance As IPublishingPageRouter
Dim originalPage As PublishingPage
Dim checkinComment As String
Dim finalDestination As String
Dim returnValue As Boolean

returnValue = instance.RoutePublishingPage(originalPage, _
    checkinComment, finalDestination)
bool RoutePublishingPage(
    PublishingPage originalPage,
    string checkinComment,
    out string finalDestination
)

Parameters

  • checkinComment
    Type: System.String

    A string that specifies any check in comment.

  • finalDestination
    Type: System.String

    A string that specifies the final location of the PublishingPage after the method is called.

Return value

Type: System.Boolean
Returns Boolean.

See also

Reference

IPublishingPageRouter interface

IPublishingPageRouter members

Microsoft.SharePoint.Publishing namespace