Share via


CSEntry.DN Property

Gets or sets a ReferenceValue object that represents the distinguished name of the connector space entry.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim instance As CSEntry
Dim value As ReferenceValue

value = instance.DN

instance.DN = value

Syntax

'Declaration
Public MustOverride Property DN As ReferenceValue
public abstract ReferenceValue DN { get; set; }
public:
virtual property ReferenceValue^ DN {
    ReferenceValue^ get () abstract;
    void set (ReferenceValue^ value) abstract;
}
/** @property */
public abstract ReferenceValue get_DN ()

/** @property */
public abstract void set_DN (ReferenceValue value)
public abstract function get DN () : ReferenceValue

public abstract function set DN (value : ReferenceValue)

Property Value

Returns a ReferenceValue object.

Exceptions

Exception type Condition
System.ArgumentNullException

This property is null.

AttributeNotDefinedAsSourceException

This property is accessed inside a MapAttributesForImport call, and the distinguished name was not selected as a source attribute.

System.InvalidOperationException

The management agent type does not support renames, or the anchor and distinguished name are the same (so renames are not allowed).

Remarks

You can set this property only in a Provision method or a Deprovision method.

This property is not case-sensitive, except when you are creating a connector (specifically, the time after calling the StartNewConnector method, and before calling the CommitNewConnector method).

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

CSEntry Class
CSEntry Members
Microsoft.MetadirectoryServices Namespace
ReferenceValue
Provision
Deprovision
CSEntry Class