Share via


RuleIdParameter.GetRuleCollectionRdn Method

Returns the DN of the specified transport rule collection.

Namespace:  Microsoft.Exchange.MessagingPolicies.Rules.Tasks
Assembly:  Microsoft.Exchange.Management (in Microsoft.Exchange.Management.dll)

Syntax

'Declaration
Public Shared Function GetRuleCollectionRdn ( _
    ruleCollection As String _
) As ADObjectId
'Usage
Dim ruleCollection As String
Dim returnValue As ADObjectId

returnValue = RuleIdParameter.GetRuleCollectionRdn(ruleCollection)
public static ADObjectId GetRuleCollectionRdn(
    string ruleCollection
)

Parameters

  • ruleCollection
    Type: System.String
    The identifier of the rule collection to return.

Return Value

Type: Microsoft.Exchange.Data.Directory.ADObjectId
The DN of the rule collection.