Compartilhar via


Método AggregationInstanceMeasureCollection.Add (String)

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

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

Sintaxe

'Declaração
Public Function Add ( _
    measureId As String _
) As AggregationInstanceMeasure
'Uso
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

Parâmetros

Valor de retorno

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

Exceções

Exceção Condição
ArgumentNullException

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

Consulte também

Referência

AggregationInstanceMeasureCollection Classe

Sobrecarregado Add

Namespace Microsoft.AnalysisServices