ADObjectId.IsValidDistinguishedName method
Determines whether 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.StringThe distinguished name to test.
Return value
Type: System.Boolean
true if the distinguished name is valid; otherwise, false.