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.
public ReferenceValue CreateDN(
  String dn
[Visual Basic .NET]
Public Function CreateDN( _
  ByVal dn As String _
) As ReferenceValue


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

Return Values

Returns a ReferenceValue object that represents the distinguished name.


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


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