مشاركة عبر


AggregationInstanceMeasureCollection.Add Method (String)

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Add ( _
    measureId As String _
) As AggregationInstanceMeasure
'Usage
Dim instance As AggregationInstanceMeasureCollection 
Dim measureId As String 
Dim returnValue As AggregationInstanceMeasure 

returnValue = instance.Add(measureId)
public AggregationInstanceMeasure Add(
    string measureId
)
public:
AggregationInstanceMeasure^ Add(
    String^ measureId
)
member Add : 
        measureId:string -> AggregationInstanceMeasure
public function Add(
    measureId : String
) : AggregationInstanceMeasure

Parameters

Return Value

Type: Microsoft.AnalysisServices.AggregationInstanceMeasure
The AggregationInstanceMeasure that was added to the collection.

Exceptions

Exception Condition
ArgumentNullException

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

See Also

Reference

AggregationInstanceMeasureCollection Class

Add Overload

Microsoft.AnalysisServices Namespace