Dela via


MeasureGroupDimensionCollection.Add Method (String)

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

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

Syntax

'Declaration
Public Function Add ( _
    cubeDimensionId As String _
) As RegularMeasureGroupDimension
'Usage
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

Parameters

Return Value

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