AggregationInstanceMeasureCollection.Add Method

Definition

Overloads

Add(AggregationInstanceMeasure)

Adds the specified AggregationInstanceMeasure to the end of the collection.

Add(String)

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

Add(AggregationInstanceMeasure)

Adds the specified AggregationInstanceMeasure to the end of the collection.

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

Parameters

Returns

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

Exceptions

Applies to

Add(String)

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

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

Parameters

measureId
String

The MeasureID for the new AggregationInstanceMeasure object.

Returns

The newly created AggregationInstanceMeasure object.

Exceptions

The specified MeasureID is not valid in the collection.

Applies to