Share via


Attrib.ReferenceValue Property

The ReferenceValue property retrieves or sets a ReferenceValue object that contains the attribute value. Use this property with single-valued attributes only. Do not use this property for multi-valued attributes.

public ReferenceValue ReferenceValue {get; set;}
Public Property ReferenceValue As ReferenceValue

Exceptions

Exception type Condition
ArgumentNullException

Null reference value.

InvalidOperationException

The Attrib object is being set to one of the following:

  • a non-binary value
  • a null value
  • more than one value

If you are unsure of the data type of an Attrib object, use the Value property or the Values property for multi-valued attributes.

Remarks

This property has a number of restrictions on its use:

If you specify a reference to a object that does not exist in the connector space, a placeholder object is created at that location.

Requirements

Product ILM 2007 FP1
Namespace Microsoft.MetadirectoryServices
Assembly Microsoft.MetadirectoryServices
.NET Framework .NET Framework 2.0

See Also

ReferenceValue
Attrib

Send comments about this topic to Microsoft

Build date: 2/16/2009