ICICompoundCondition Interface

The ICICompoundCondition interface allows you to make changes to the Event Rule Condition settings. (See also ICISimpleCondition - Simple Condition Interface.)

interface ICICompoundCondition : IDispatch

ICON_Info.gif "Function" and "Sub" indicate that the member is a method; "Property" indicates that it is a property.

Members

Add a compound Condition.

HRESULT Add(

[in] EventProperty property,

[in] ConditionOperator op,

[in] VARIANT varValue,

[in] VARIANT_BOOL bNot,

[out, retval] IDispatch** ppdispSimpleCondition);

EFT v5.2 and later

Retrieve the number of listed conditions.

HRESULT Count(

[out, retval] long *plCount);

EFT v5.2 and later

Deletes a Condition.

HRESULT Delete(

[in] long lIndex);

EFT v5.2 and later

Retrieves a simple condition object by index.

HRESULT Item(

[in] long lIndex,

[out, retval] IDispatch** ppdispSimpleCondition);

EFT v5.2 and later

Retrieves or specifies a logical operation used in calculating the compound condition result (grouping of simple condition items).

HRESULT Operator(

[out, retval] LogicalOperator *pVal);

HRESULT Operator(

[in] LogicalOperator newVal);

EFT v5.2 and later