ManagementAgent.CreateDN Method

The CreateDN(Value) method creates a ReferenceValue object from a Value object.

Syntax

public ReferenceValue CreateDN(
  Value dn
);
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 Value

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 ILM 2007 FP1
Namespace Microsoft.MetadirectoryServices
Assembly Microsoft.MetadirectoryServices
.NET Framework .NET Framework 2.0

See Also

ManagementAgent
ReferenceValue
Value
InvalidDNException

Send comments about this topic to Microsoft

Build date: 2/16/2009