Partilhar via


AggregationInstanceDimensionCollection.Add Method

Definition

Overloads

Add(AggregationInstanceDimension)

Adds the specified AggregationInstanceDimension to the end of the collection.

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)

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

Applies to

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

The CubeDimensionID for the new AggregationInstanceDimension object.

Returns

The newly created AggregationInstanceDimension object.

Exceptions

The specified CubeDimensionID is not valid in the collection.

Applies to