Microsoft Identity Integration Server 2003 Developer Reference

ManagementAgent.CreateDN (Value)

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


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.


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