다음을 통해 공유


EcmDocumentRouterRuleCollection.Add Method

Adds the specified EcmDocumentRouterRule object to the collection of rules in an EcmDocumentRoutingWeb object.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Sub Add ( _
    rule As EcmDocumentRouterRule _
)
'Usage
Dim instance As EcmDocumentRouterRuleCollection
Dim rule As EcmDocumentRouterRule

instance.Add(rule)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public void Add(
    EcmDocumentRouterRule rule
)

Parameters

Implements

ICollection<T>.Add(T)

See Also

Reference

EcmDocumentRouterRuleCollection Class

EcmDocumentRouterRuleCollection Members

Microsoft.Office.RecordsManagement.RecordsRepository Namespace

CreateRule()

EcmDocumentRouterRule(SPWeb)