Partilhar via


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)

Syntax

'Declaration
<ObsoleteAttribute("Use Microsoft.Office.RecordsManagement.RecordsRepository.ICustomRouter instead")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Interface IRouter
'Usage
Dim instance As IRouter
[ObsoleteAttribute("Use Microsoft.Office.RecordsManagement.RecordsRepository.ICustomRouter instead")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, 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, 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 SharePoint Server 2007 SDK.

See Also

Reference

IRouter Members

Microsoft.Office.RecordsManagement.RecordsRepository Namespace

Other Resources

Record Repository

Custom Records Repository Router