Compartir a través de


ADObjectId.ToDNString Method

Returns the Active Directory object's distinguished name.

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

Syntax

'Declaration
Public Function ToDNString As String
'Usage
Dim instance As ADObjectId
Dim returnValue As String

returnValue = instance.ToDNString()
public string ToDNString()

Return Value

Type: System.String
The Active Directory object's distinguished name

Implements

IDnFormattable.ToDNString()

Remarks

The ToDNString() method returns a distinguished name as follows: