ADObjectId.GetAdNameAtDepth method
Returns the Active Directory name at the specified depth.
Namespace: Microsoft.Exchange.Data.Directory
Assembly: Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)
Syntax
'Declaration
Public Function GetAdNameAtDepth ( _
depth As Integer _
) As AdName
'Usage
Dim instance As ADObjectId
Dim depth As Integer
Dim returnValue As AdName
returnValue = instance.GetAdNameAtDepth(depth)
public AdName GetAdNameAtDepth(
int depth
)
Parameters
depth
Type: System.Int32The depth to descend to.
Return value
Type: Microsoft.Exchange.Data.Directory.AdName
The name of the Active Directory object at the specified depth.