Insert Method (Int32, String)
Collapse the table of content
Expand the table of content

AggregationInstanceDimensionCollection.Insert Method (Int32, String)

 

Updated: May 16, 2016

Creates and inserts a specific AggregationInstanceDimension into the collection at the specified index.

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

public AggregationInstanceDimension Insert(
	int index,
	string cubeDimensionId
)

Parameters

index
Type: System.Int32

An int value with the location at which AggregationInstanceDimension is to be inserted.

cubeDimensionId
Type: System.String

The AggregationInstanceDimension to be inserted.

Return Value

Type: Microsoft.AnalysisServices.AggregationInstanceDimension

The AggregationInstanceDimension that was inserted to the collection.

Exception Condition
ArgumentOutOfRangeException

You might receive one of the following error messages:

index is less than zero.

index is equal to or greater than Count.

Return to top
Show:
© 2016 Microsoft