Método Add (String, String, String)

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Function Add ( _
    dimensionId As String, _
    name As String, _
    id As String _
) As CubeDimension
'Uso
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

Parâmetros

Valor de retorno

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