Compartir a través de


Add Método (String)

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

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
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 devuelto

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

Excepciones

Excepción Condición
ArgumentNullException

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