ADObjectId.IsValidDistinguishedName Method
Determines if a specified distinguished name is valid.
Namespace: Microsoft.Exchange.Data.Directory
Assembly: Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)
Syntax
'Declaration
Public Shared Function IsValidDistinguishedName ( _
distinguishedName As String _
) As Boolean
'Usage
Dim distinguishedName As String
Dim returnValue As Boolean
returnValue = ADObjectId.IsValidDistinguishedName(distinguishedName)
public static bool IsValidDistinguishedName(
string distinguishedName
)
Parameters
- distinguishedName
Type: System.String
The distinguished name to test.
Return Value
Type: System.Boolean
true if the distinguished name is valid; otherwise, false.