Compartilhar via


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.

Remarks

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

See also

Reference

ADObjectId class

ADObjectId members

Microsoft.Exchange.Data.Directory namespace