AggregationInstanceMeasureCollection.Add AggregationInstanceMeasureCollection.Add AggregationInstanceMeasureCollection.Add Method

Definition

Creates and adds an AggregationInstanceMeasure to the end of the collection.

Overloads

Add(AggregationInstanceMeasure) Add(AggregationInstanceMeasure) Add(AggregationInstanceMeasure)

Adds the specified AggregationInstanceMeasure to the end of the collection.

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

Creates and adds an AggregationInstanceMeasure, which is specified by measureId, to the end of the collection.

Add(AggregationInstanceMeasure) Add(AggregationInstanceMeasure) Add(AggregationInstanceMeasure)

Adds the specified AggregationInstanceMeasure to the end of the collection.

public:
 int Add(Microsoft::AnalysisServices::AggregationInstanceMeasure ^ item);
public int Add (Microsoft.AnalysisServices.AggregationInstanceMeasure item);
Public Function Add (item As AggregationInstanceMeasure) As Integer
Parameters
Returns

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

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

Creates and adds an AggregationInstanceMeasure, which is specified by measureId, to the end of the collection.

public:
 Microsoft::AnalysisServices::AggregationInstanceMeasure ^ Add(System::String ^ measureId);
public Microsoft.AnalysisServices.AggregationInstanceMeasure Add (string measureId);
Public Function Add (measureId As String) As AggregationInstanceMeasure
Parameters
measureId
String String String

Identifies the AggregationInstanceMeasure to be added.

Returns
Exceptions

measureId is a null reference (Nothing in Visual Basic).

Applies to