Partager via


ADObjectId.Depth property

Gets the depth of the current Active Directory object.

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

Syntax

'Declaration
Public ReadOnly Property Depth As Integer
    Get
'Usage
Dim instance As ADObjectId
Dim value As Integer

value = instance.Depth
public int Depth { get; }

Property value

Type: System.Int32
The depth of the current Active Directory object. The root object has a depth of 0.

See also

Reference

ADObjectId class

ADObjectId members

Microsoft.Exchange.Data.Directory namespace