AggregationInstanceMeasureCollection.Add 方法 (String)

Creates and adds an AggregationInstanceMeasure, which is specified by measureId, to the end of the collection.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Function Add ( _
    measureId As String _
) As AggregationInstanceMeasure
用法
Dim instance As AggregationInstanceMeasureCollection 
Dim measureId As String 
Dim returnValue As AggregationInstanceMeasure 

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

参数

返回值

类型:Microsoft.AnalysisServices.AggregationInstanceMeasure
The AggregationInstanceMeasure that was added to the collection.

异常

异常 条件
ArgumentNullException

measureId is a null reference (Nothing in Visual Basic).

请参阅

参考

AggregationInstanceMeasureCollection 类

Add 重载

Microsoft.AnalysisServices 命名空间