AggregationInstanceDimensionCollection.Insert AggregationInstanceDimensionCollection.Insert AggregationInstanceDimensionCollection.Insert Method

Definition

Inserts an AggregationInstanceDimension into the collection.

Overloads

Insert(Int32, AggregationInstanceDimension) Insert(Int32, AggregationInstanceDimension) Insert(Int32, AggregationInstanceDimension)

Inserts a specified AggregationInstanceDimension into the collection at the location specified by index.

Insert(Int32, String) Insert(Int32, String) Insert(Int32, String)

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

Insert(Int32, AggregationInstanceDimension) Insert(Int32, AggregationInstanceDimension) Insert(Int32, AggregationInstanceDimension)

Inserts a specified AggregationInstanceDimension into the collection at the location specified by index.

public:
 void Insert(int index, Microsoft::AnalysisServices::AggregationInstanceDimension ^ item);
public void Insert (int index, Microsoft.AnalysisServices.AggregationInstanceDimension item);
Public Sub Insert (index As Integer, item As AggregationInstanceDimension)
Parameters
index
Int32 Int32 Int32

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

Insert(Int32, String) Insert(Int32, String) Insert(Int32, String)

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

public:
 Microsoft::AnalysisServices::AggregationInstanceDimension ^ Insert(int index, System::String ^ cubeDimensionId);
public Microsoft.AnalysisServices.AggregationInstanceDimension Insert (int index, string cubeDimensionId);
Public Function Insert (index As Integer, cubeDimensionId As String) As AggregationInstanceDimension
Parameters
index
Int32 Int32 Int32

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

cubeDimensionId
String String String

The AggregationInstanceDimension to be inserted.

Returns
Exceptions

You might receive one of the following error messages:

index is less than zero.

index is equal to or greater than Count.

Applies to