Platform SDK: Exchange Server

IACEs::Add Method

Adds a previously created ACE object to the collection.

IDL Definition

HRESULT Add( [in] IACE* ACE);

Visual Basic Definition

Sub Add( ACE as IACE)

Remarks

The object is added to the end of the collection. When added, the ACE object's ID property is set to the member's long-term entry identifier and then used as the object's key in the collection. If you plan to access the ACE object in the collection with its ID property, immediately retrieve the new ID value on the object right after adding it to the collection.

Example

ace.id = member.id
aces.add ace   ' ID is converted on the ace object internally
strId = ace.id  '  new value that's not equal to member.id above.