Export (0) Print
Expand All

IRouter Interface

NOTE: This API is now obsolete.

Provides an interface which custom records repository routers must implement.

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

[ObsoleteAttribute("Use Microsoft.Office.RecordsManagement.RecordsRepository.ICustomRouter instead")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, 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, 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 SharePoint Server 2007 SDK.

Show:
© 2014 Microsoft