ADObjectId.ToCanonicalName Method
Returns the canonical representation of 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 ToCanonicalName As String
'Usage
Dim instance As ADObjectId
Dim returnValue As String
returnValue = instance.ToCanonicalName()
public string ToCanonicalName()
Return Value
Type: System.String
The canonical representation of the Active Directory object's distinguished name, if available; otherwise, returns an empty string.