IRouter Interface (Microsoft.Office.RecordsManagement.RecordsRepository)
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

Visual Basic (Declaration)
Public Interface IRouter
Visual Basic (Usage)
Dim instance As IRouter
C#
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.

Example

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

See Also

Tags :


Community Content

Vince Rothwell
An example IRouter implementation
http://blog.thekid.me.uk/archive/2007/04/15/creating-a-custom-router-for-records-center-in-sharepoint.aspx
Tags : irouter

Page view tracker