ADObjectId.ParseDnOrGuid Method
Returns an Active Directory object identifier from the specified string.
Namespace: Microsoft.Exchange.Data.Directory
Assembly: Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)
Syntax
'Declaration
Public Shared Function ParseDnOrGuid ( _
input As String _
) As ADObjectId
'Usage
Dim input As String
Dim returnValue As ADObjectId
returnValue = ADObjectId.ParseDnOrGuid(input)
public static ADObjectId ParseDnOrGuid(
string input
)
Parameters
- input
Type: System.String
The Active Directory object identifier string.
Return Value
Type: Microsoft.Exchange.Data.Directory.ADObjectId
A new instance of the ADObjectId class.