GetCauses method: CubeDefn class
Syntax
GetCauses(CauseType)
Description
Any cube that affects another cube is a cause of that cube. Use the GetCauses method to return a list of all the other cubes that are the causes for this cube.
The cube names are returned in an array of string.
Parameters
| Parameter | Description |
|---|---|
|
CauseType |
Specify the type of causes you want returned. |
| Value | Description |
|---|---|
|
AnalyticModel_DirectCauses |
Only return direct causes. |
|
AnalyticModel_AllCauses |
Return all cubes that are causes for this cube, both direct and indirect. |
|
AnalyticModel_AllInputs |
Return all cubes that have input to this cube. |
Returns
An array of string.