Microsoft Identity Integration Server 2003 Developer Reference

ManagementAgent.CreateDN (String)

The CreateDN(String) method creates a ReferenceValue object from a distinguished name string. The string can contain escaped characters.
[C#]
public ReferenceValue CreateDN(
  String dn
);
[Visual Basic .NET]
Public Function CreateDN( _
  ByVal dn As String _
) As ReferenceValue

Parameters

dn
Specifies the distinguished name. The string can contain escaped characters.

Return Values

Returns a ReferenceValue object that represents the distinguished name.

Exceptions

Exception type Condition
ArgumentNullException The argument is null.
InvalidDNException The distinguished name component represented by the dn parameter is not valid

Requirements

Product: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.

See Also

ManagementAgent, ReferenceValue, InvalidDNException