Skip to content

IAdmObjectReferenceModificationCollection

The IAdmObjectReferenceModificationCollection interface represents a collection of modifications to directory object references. Each item in the collection is represented by a reference to a directory object and the associated modification to be performed on the reference.

Inheritance: The IAdmObjectReferenceModificationCollection interface inherits from the IEnumerable interface.

Methods

  • Method

  • Description

  • Add()

  • Adds an object reference to the collection.

  • Clear()

  • Removes all object references from the collection.

  • GetItem()

  • Returns an object reference by index.

  • GetOperation()

  • Returns the operation to be performed on the specified object reference.

  • SetOperation()

  • Sets the operation to be performed on the specified object reference.

  • Remove()

  • Removes the specified object reference from the collection.

Properties

  • Property

  • Description

  • Count

  • Gets the number of object references in the collection.

  • OverrideOldValues

  • If set to TRUE, and this collection is assigned to another instance of the IAdmObjectReferenceModificationCollection interface, object references contained in this collection will override the old values stored in the other collection.

Details

Add()

Adds an object reference to the collection.

void Add(ADS_PROPERTY_OPERATION_ENUM operation, IAdmObjectReference objectReferenceToAdd)

Parameters

  • operation - Specifies the operation to be performed on the object reference.
  • objectReferenceToAdd - Specifies the object reference that will be added to the collection.

Clear()

Removes all object references from the collection.

void Clear()

GetItem()

Returns an object reference by index.

IAdmObjectReference GetItem(Int32 index, out ADS_PROPERTY_OPERATION_ENUM operation)

Parameters

  • index - Specifies the index of the object reference to return.
  • operation is an output (OUT) parameter that returns the type of the operation to be performed on the object reference.

GetOperation()

Returns the operation to be performed on the specified object reference.

ADS_PROPERTY_OPERATION_ENUM GetOperation(IAdmObjectReference objectReference)

SetOperation()

Sets the operation to be performed on the specified object reference.

void SetOperation(IAdmObjectReference objectReference, ADS_PROPERTY_OPERATION_ENUM operation)

Parameters

  • objectReference - Specifies the object reference, for which the operation is set.
  • operation - Specifies the operation to be performed on the object reference.

Remove()

Removes the specified object reference from the collection.

void Remove(IAdmObjectReference objectReferenceToRemove)

Count

Gets the number of object references in the collection.

  • Type:
  • Int32
  • Access:
  • Read-only

OverrideOldValues

If set to TRUE, and this collection is assigned to another instance of the IAdmObjectReferenceModificationCollection interface, object references contained in this collection will override the old values stored in the other collection.

  • Type:
  • Boolean
  • Access:
  • Read/Write

Requirements

Minimum required version: 2013.1

See also