Condividi tramite


Metodo Add (String, String, String)

Creates and adds a CubeDimension, with the specified name and 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, _
    name As String, _
    id As String _
) As CubeDimension
'Utilizzo
Dim instance As CubeDimensionCollection
Dim dimensionId As String
Dim name As String
Dim id As String
Dim returnValue As CubeDimension

returnValue = instance.Add(dimensionId, _
    name, id)
public CubeDimension Add(
    string dimensionId,
    string name,
    string id
)
public:
CubeDimension^ Add(
    String^ dimensionId, 
    String^ name, 
    String^ id
)
member Add : 
        dimensionId:string * 
        name:string * 
        id:string -> CubeDimension 
public function Add(
    dimensionId : String, 
    name : String, 
    id : String
) : CubeDimension

Parametri

Valore restituito

Tipo: Microsoft.AnalysisServices. . :: . .CubeDimension
The CubeDimension that has been added.