共用方式為


CubeCollection.Add 方法 (String)

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

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function Add ( _
    name As String _
) As Cube
'用途
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

參數

傳回值

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

請參閱

參考

CubeCollection 類別

Add 多載

Microsoft.AnalysisServices 命名空間