Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
originalPage
Type: Microsoft.SharePoint.Publishing.PublishingPageThe PublishingPage to be routed.
checkinComment
Type: System.StringA string that specifies any check in comment.
finalDestination
Type: System.StringA string that specifies the final location of the PublishingPage after the method is called.
Return Value
Type: System.Boolean
Returns Boolean.