EcmDocumentRouterRuleCollection.Remove Method
Removes the specified EcmDocumentRouterRule object from the EcmDocumentRouterRuleCollection object.
Namespace: Microsoft.Office.RecordsManagement.RecordsRepository
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function Remove ( _
rule As EcmDocumentRouterRule _
) As Boolean
'Usage
Dim instance As EcmDocumentRouterRuleCollection
Dim rule As EcmDocumentRouterRule
Dim returnValue As Boolean
returnValue = instance.Remove(rule)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public bool Remove(
EcmDocumentRouterRule rule
)
Parameters
rule
Type: Microsoft.Office.RecordsManagement.RecordsRepository.EcmDocumentRouterRuleThe EcmDocumentRouterRule to remove.
Return Value
Type: System.Boolean
Returns Boolean.
Implements
See Also
Reference
EcmDocumentRouterRuleCollection Class
EcmDocumentRouterRuleCollection Members
Microsoft.Office.RecordsManagement.RecordsRepository Namespace