Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)
Usage
Visual Basic |
---|
Dim instance As CSEntry Dim value As ReferenceValue value = instance.DN instance.DN = value |
Syntax
Visual Basic |
---|
Public MustOverride Property DN As ReferenceValue |
C# |
---|
public abstract ReferenceValue DN { get; set; } |
C++ |
---|
public: virtual property ReferenceValue^ DN { ReferenceValue^ get () abstract; void set (ReferenceValue^ value) abstract; } |
J# |
---|
/** @property */ public abstract ReferenceValue get_DN () /** @property */ public abstract void set_DN (ReferenceValue value) |
JScript |
---|
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.