DataCubeAddAdditionalWarehousingIndex Method

Adds an additional warehouse index to be created for the data cube during warehousing.

Namespace: Dundas.BI.Entities.DataCubes
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.3.0.1000)
Syntax
public IndexInfo AddAdditionalWarehousingIndex(
	IndexInfo indexInfo
)

Parameters

indexInfo  IndexInfo
The index to add. Each of its columns must reference an existing element by unique name.

Return Value

IndexInfo
The effective index: the newly added index, or the pre-existing index when an identical one (same ordered columns and directions) already exists.
Exceptions
ExceptionCondition
ArgumentNullExceptionindexInfo is .
ArgumentExceptionindexInfo has fewer than two columns, or references the same element in more than one column.
NotFoundExceptionOne of the index columns references an element that could not be found.
Remarks
Adding an index whose ordered columns and directions exactly match an existing one is a no-op that returns the existing index, so identical (redundant) indexes never accumulate. Indexes over the same elements in a different order, or with different directions, are distinct and are added.
See Also