Метод 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
Параметры
- measureId
Тип: System.String
Identifies the AggregationInstanceMeasure to be added.
Возвращаемое значение
Тип: Microsoft.AnalysisServices.AggregationInstanceMeasure
The AggregationInstanceMeasure that was added to the collection.
Исключения
Исключение | Условие |
---|---|
ArgumentNullException | measureId is a null reference (Nothing in Visual Basic). |