IRouter Interface

Provides an interface which custom records repository routers must implement.

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


<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Interface IRouter
Dim instance As IRouter
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public interface IRouter


This interface contains a single method, OnSubmitFile.

When a file is submitted to the records repository, Office SharePoint Server 2007 calls the appropriate custom router, if there is one, by using the OnSubmitFile method. The router then performs its operation on the submitted document and associated metadata.


See the De-Duplication Router sample in the Microsoft Office SharePoint Server 2007 SDK.

See Also


IRouter Members

Microsoft.Office.RecordsManagement.RecordsRepository Namespace

Other Resources

Records Center

Custom Records Center Router