Compartilhar via


Método Add (String)

Creates and adds a Measure, with the specified identifier, to the end of the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    name As String _
) As Measure
'Uso
Dim instance As MeasureCollection
Dim name As String
Dim returnValue As Measure

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

Parâmetros

Valor de retorno

Tipo: Microsoft.AnalysisServices. . :: . .Measure
The zero-based index at which the Measure has been added.