Condividi tramite


EcmDocumentRouterRuleCollection Class

Represents the collection of rules that are used by the content organizer to organize submitted documents.

Inheritance Hierarchy

System.Object
  Microsoft.Office.RecordsManagement.RecordsRepository.EcmDocumentRouterRuleCollection

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

Syntax

'Declaration
Public Class EcmDocumentRouterRuleCollection _
    Implements ICollection(Of EcmDocumentRouterRule), IEnumerable(Of EcmDocumentRouterRule),  _
    IEnumerable
'Usage
Dim instance As EcmDocumentRouterRuleCollection
public class EcmDocumentRouterRuleCollection : ICollection<EcmDocumentRouterRule>, 
    IEnumerable<EcmDocumentRouterRule>, IEnumerable

Remarks

Each EcmDocumentRouterRule object specifies the final location for documents of a specific content type. Optionally, the rule may also place additonal requirements on the metadata of the document so that the document will be routed to the location specified by the rule. The EcmDocumentRoutingRuleCollection contains all of the rules specified for a SPWeb object that has the content organizer enabled.

When a document is submitted to an EcmDocumentRoutingWeb object, all Enabled in the site are evaluated in the order of Priority to determine the final location for the document.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

EcmDocumentRouterRuleCollection Members

Microsoft.Office.RecordsManagement.RecordsRepository Namespace

RoutingRuleCollection

Add(EcmDocumentRouterRule)

CreateRule()

Update()