Microsoft Identity Integration Server 2003 Developer Reference

ManagementAgent.CreateDN (Value)

The CreateDN(Value) method creates a ReferenceValue object from a Value object.
[C#]
public ReferenceValue CreateDN(
  Value dn
);
[Visual Basic .NET]
Public Function CreateDN( _
  ByVal dn As Value _
) As ReferenceValue

Parameters

dn
Contains a Value object that contains the distinguished name from which the new object is derived. This method uses the ToString method of the Value object to obtain the distinguished name.

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, Value, InvalidDNException