Share via


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)

Syntax

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

Remarks

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.

Examples

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

See Also

Reference

IRouter Members

Microsoft.Office.RecordsManagement.RecordsRepository Namespace

Other Resources

Records Center

Custom Records Center Router