Metodo Add (String)

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

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Add ( _
    measureId As String _
) As AggregationInstanceMeasure
'Utilizzo
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

Parametri

Valore restituito

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

Eccezioni

Eccezione Condizione
ArgumentNullException

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