Cube Class Methods

In the following section, we discuss the cube class methods. The methods are described in alphabetical order.

Syntax

AddIndex(&MemberReference)

Description

Use the AddIndex method to add a MemberReference object to the cube.

Parameters

Field or Control

Definition

&MemberReference

Specify an already instantiated MemberReference object to be added to the cube.

Returns

None.

Syntax

GenerateRule()

Description

Use the GenerateRule method to return a string that contains the rule for this object.

Generally you wouldn’t use this method on the individual RuleExpression objects, but instead would use the GenerateRule method on the RuleDefn object.

Parameters

None.

Returns

A string.

Syntax

GetIndexes()

Description

Use the GetIndexes method to return an array of MemberReference’s (indexes) for this cube. These MemberReferences are the MemberReferences that were added with the AddIndex method.

Parameters

None.

Returns

An array of MemberReference objects.