SP.BWsaClient Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.BWsaClient class.

Methods

Name

Description

addCommonDatapoint

Adds a datapoint ID to the common datapoint list.

addToAverage

Adds a value to an existing datapoint and updates the average value of the datapoint.

addToStreamDw8

Creates a stream that contains eight DWORD values.

BWsaClient

Initializes a new instance of the BWsaClient class using the specified upload URL and opt-in status.

createStream

Creates a stream of Software Quality Metrics (SQM) using the specified ID, type, width, and number of rows of data.

disable

Disables the collection of SQM data.

getSQMLocationFromCUICommandInfo

Gets the location of the SQM from the specified Command User Interface (CUI) command information.

incrementDw

Increases the value of the specified datapoint by the specified value.

isUserOptedIn

Determines whether the user opted in to allow collecting SQM data.

setBitsAnd

Sets the specified bits in the specified datapoint using an AND operation for each bit.

setBitsOr

Sets the specified bits in the specified datapoint using an OR operation for each bit.

setBitsOrAnd

Sets the specified bits in the specified datapoint using an AND and an OR operation for each bit.

setBool

Sets the specified datapoint to a binary value.

setDw

Sets the specified datapoint to the specified value.

setIfMax

Sets the value of the specified datapoint to the specified value if the specified value is greater than the existing value of the datapoint.

setIfMin

Sets the value of the specified datapoint to the specified value if the specified value is less than the existing value of the datapoint.

terminate

Halts the collection of SQM data.

uploadWsaData

Halts the collection of SQM data and sends the SQM file to the dispatcher.

uploadWsaDataRequest

Sends the SQM file to the dispatcher.

Applies To

SP.BWsaClient Class

See Also

Reference

SP.BWsaClient Properties

SP Namespace