Dela via


CubeDimensionCollection.Add Method (String)

Creates and adds a CubeDimension, 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 ( _
    dimensionId As String _
) As CubeDimension
'Usage
Dim instance As CubeDimensionCollection
Dim dimensionId As String
Dim returnValue As CubeDimension

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

Parameters

Return Value

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