Compartir a través de


ADObjectId.ToGuidOrDNString Method

Returns the GUID or distinguished name of the Active Directory object.

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

Syntax

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

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

Return Value

Type: System.String
The GUID or distinguished name of the Active Directory object.

Remarks

The ToGuidOrDNString() method returns the GUID or distinguished name as follows: