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
rootId
Type: Microsoft.Exchange.Data.Directory.ADObjectIdThe Active Directory object identifier of the root object to begin the search.
Return value
Type: System.Boolean
true if the current ADObjectID instance is a descendant of the specified ADObjectID instance; otherwise, false.