Compartilhar via


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

Return value

Type: Microsoft.Exchange.Data.Directory.AdName
The name of the Active Directory object at the specified depth.

See also

Reference

ADObjectId class

ADObjectId members

Microsoft.Exchange.Data.Directory namespace