SP.BWsaClient.addToAverage(dwDatapointId, dwDatapointValue) Method
Applies to: SharePoint Foundation 2010
Adds a value to an existing datapoint and updates the average value of the datapoint.
SP.BWsaClient.addToAverage(dwDatapointId, dwDatapointValue);
Parameters
dwDatapointId
Type: UInt32
The ID of the datapoint.
dwDatapointValue
Type: UInt32
The value of the datapoint.
Remarks
This method does not change the values of the datapoint if the user did not opt in Software Quality Metrics (SQM) data collection (the SP.BWsaClient.isUserOptedIn() Method method returns false).
This method sets the value of the datapoint and updates the average value of the datapoint.