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


Type: System.Int32

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

Type: System.String

The AggregationInstanceDimension to be inserted.

Return Value

Type: Microsoft.AnalysisServices.AggregationInstanceDimension

The AggregationInstanceDimension that was inserted to the collection.

Exception Condition

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
© 2016 Microsoft