共用方式為


AggregationDimensionCollection.Add 方法 (String)

Creates and adds an AggregationDimension, with the specified identifier, to the end of the collection.

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

語法

'宣告
Public Function Add ( _
    cubeDimensionId As String _
) As AggregationDimension
'用途
Dim instance As AggregationDimensionCollection 
Dim cubeDimensionId As String 
Dim returnValue As AggregationDimension 

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

參數

傳回值

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

請參閱

參考

AggregationDimensionCollection 類別

Add 多載

Microsoft.AnalysisServices 命名空間