MeasureGroupDimensionCollection.Insert Method (Int32, String)

 

Updated: May 24, 2016

Creates and inserts a MeasureGroupDimension, with the specified identifier, into the collection at the specified index.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

public RegularMeasureGroupDimension Insert(
	int index,
	string cubeDimensionId
)

Parameters

index
Type: System.Int32

The zero-based index at which to insert the new MeasureGroupDimension.

cubeDimensionId
Type: System.String

The identifier of the MeasureGroupDimension to insert.

Exception Condition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

Return to top
Show: