AggregationDimensionCollection.Add Method (String)
Creates and adds an AggregationDimension, 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 AggregationDimension
'Usage
Dim instance As AggregationDimensionCollection
Dim cubeDimensionId As String
Dim returnValue As AggregationDimension
returnValue = instance.Add(cubeDimensionId)
public AggregationDimension Add(
string cubeDimensionId
)
public:
AggregationDimension^ Add(
String^ cubeDimensionId
)
member Add :
cubeDimensionId:string -> AggregationDimension
public function Add(
cubeDimensionId : String
) : AggregationDimension
Parameters
- cubeDimensionId
Type: System.String
The AggregationDimension to be added.
Return Value
Type: Microsoft.AnalysisServices.AggregationDimension
The zero-based index at which the AggregationDimension has been added.