MeasureGroupDimensionCollection.Add Method (String)
Creates, adds to collection and returns a new RegularMeasureGroupDimension.
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
- cubeDimensionId
Type: System.String
The cube dimension identifier for the new RegularMeasureGroupDimension (needs to be unique in the collection).
Return Value
Type: Microsoft.AnalysisServices.RegularMeasureGroupDimension
The newly created RegularMeasureGroupDimension.