Partager via


ADObjectId.IsDescendantOf method

Determines whether the current Active Directory object identifier is the descendent of another.

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

Syntax

'Declaration
Public Function IsDescendantOf ( _
    rootId As ADObjectId _
) As Boolean
'Usage
Dim instance As ADObjectId
Dim rootId As ADObjectId
Dim returnValue As Boolean

returnValue = instance.IsDescendantOf(rootId)
public bool IsDescendantOf(
    ADObjectId rootId
)

Parameters

Return value

Type: System.Boolean
true if the current ADObjectID instance is a descendant of the specified ADObjectID instance; otherwise, false.

See also

Reference

ADObjectId class

ADObjectId members

Microsoft.Exchange.Data.Directory namespace