Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates and adds an AggregationInstanceMeasure, which is specified by measureId, to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
measureId As String _
) As AggregationInstanceMeasure
'Usage
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
Parameters
- measureId
Type: System.String
Identifies the AggregationInstanceMeasure to be added.
Return Value
Type: Microsoft.AnalysisServices.AggregationInstanceMeasure
The AggregationInstanceMeasure that was added to the collection.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | measureId is a null reference (Nothing in Visual Basic). |