AggregationInstanceDimensionCollection.Add AggregationInstanceDimensionCollection.Add AggregationInstanceDimensionCollection.Add Method

Definition

Overloads

Add(AggregationInstanceDimension) Add(AggregationInstanceDimension) Add(AggregationInstanceDimension)

Adds the specified AggregationInstanceDimension to the end of the collection.

Add(String) Add(String) Add(String)

Creates a new AggregationInstanceDimension object using the specified CubeDimensionID, adds it to the end of the collection and returns the new AggregationInstanceDimension created.

Add(AggregationInstanceDimension) Add(AggregationInstanceDimension) Add(AggregationInstanceDimension)

Adds the specified AggregationInstanceDimension to the end of the collection.

public int Add (Microsoft.AnalysisServices.AggregationInstanceDimension item);
override this.Add : Microsoft.AnalysisServices.AggregationInstanceDimension -> int
Public Function Add (item As AggregationInstanceDimension) As Integer

Parameters

Returns

The zero-based index at which the AggregationInstanceDimension has been added to the collection.

Exceptions

Add(String) Add(String) Add(String)

Creates a new AggregationInstanceDimension object using the specified CubeDimensionID, adds it to the end of the collection and returns the new AggregationInstanceDimension created.

public Microsoft.AnalysisServices.AggregationInstanceDimension Add (string cubeDimensionId);
override this.Add : string -> Microsoft.AnalysisServices.AggregationInstanceDimension
Public Function Add (cubeDimensionId As String) As AggregationInstanceDimension

Parameters

cubeDimensionId
String String String

The CubeDimensionID for the new AggregationInstanceDimension object.

Returns

Exceptions

The specified CubeDimensionID is not valid in the collection.

Applies to