Share via


PublishingPageRouter.IPublishingPageRouter.RoutePublishingPage Method

Attempts to route the page within a folder in the pages list. If no rules match, it will attempt to distribute the pages within automatically generated folders based on folder size.

Namespace:  Microsoft.Office.RecordsManagement.RecordsRepository
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Private Function RoutePublishingPage ( _
    originalPage As PublishingPage, _
    checkInComments As String, _
    <OutAttribute> ByRef finalDestination As String _
) As Boolean Implements IPublishingPageRouter.RoutePublishingPage
'Usage
Dim instance As PublishingPageRouter
Dim originalPage As PublishingPage
Dim checkInComments As String
Dim finalDestination As String
Dim returnValue As Boolean

returnValue = CType(instance, IPublishingPageRouter).RoutePublishingPage(originalPage, _
    checkInComments, finalDestination)
boolIPublishingPageRouter.RoutePublishingPage(
    PublishingPage originalPage,
    string checkInComments,
    out string finalDestination
)

Parameters

  • finalDestination
    Type: System.String

    String object that represents the final destination to which the original page was routed.

Return Value

Type: System.Boolean
Returns Boolean.

Implements

IPublishingPageRouter.RoutePublishingPage(PublishingPage, String, String)

Remarks

Pages cannot be routed externally.

See Also

Reference

PublishingPageRouter Class

PublishingPageRouter Members

Microsoft.Office.RecordsManagement.RecordsRepository Namespace