Condividi tramite


Metodo Add (String)

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

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Add ( _
    dimensionId As String _
) As CubeDimension
'Utilizzo
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

Parametri

Valore restituito

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