Compartilhar via


ADObjectId.GetDescendantId method (String, String, String[])

Returns the Active Directory object identifier for the specified descendants.

Namespace:  Microsoft.Exchange.Data.Directory
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
Public Function GetDescendantId ( _
    unescapedChildName As String, _
    unescapedGrandChildName As String, _
    ParamArray unescapedDescendants As String() _
) As ADObjectId
'Usage
Dim instance As ADObjectId
Dim unescapedChildName As String
Dim unescapedGrandChildName As String
Dim unescapedDescendants As String()
Dim returnValue As ADObjectId

returnValue = instance.GetDescendantId(unescapedChildName, _
    unescapedGrandChildName, unescapedDescendants)
public ADObjectId GetDescendantId(
    string unescapedChildName,
    string unescapedGrandChildName,
    params string[] unescapedDescendants
)

Parameters

  • unescapedChildName
    Type: System.String

    The name of the descendant object to search.

  • unescapedGrandChildName
    Type: System.String

    The name of the descendant of the child object to search.

  • unescapedDescendants
    Type: []

    Additional descendant names to search.

Return value

Type: Microsoft.Exchange.Data.Directory.ADObjectId
The Active Directory object identifier of the specified descendant object.

See also

Reference

ADObjectId class

ADObjectId members

GetDescendantId overload

Microsoft.Exchange.Data.Directory namespace