Partilhar via


Método Add (String)

Creates and adds a MeasureGroupDimension, 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 ( _
    cubeDimensionId As String _
) As RegularMeasureGroupDimension
'Uso
Dim instance As MeasureGroupDimensionCollection
Dim cubeDimensionId As String
Dim returnValue As RegularMeasureGroupDimension

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

Parâmetros

Valor de retorno

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