Partager via


Méthode Add (String)

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    name As String _
) As Cube
'Utilisation
Dim instance As CubeCollection
Dim name As String
Dim returnValue As Cube

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

Paramètres

Valeur de retour

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