SP.BWsaClient.setBitsOrAnd(dwDatapointId, dwOrBits, dwAndBitsFirst) Method

Applies to: SharePoint Foundation 2010

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

SP.BWsaClient.setBitsOrAnd(dwDatapointId, dwOrBits, dwAndBitsFirst);

Parameters

dwDatapointId

Type: UInt32

The ID of the datapoint.

dwOrBits

Type: UInt32

The value of the bits to OR with the corresponding bit in the datapoint.

dwAndBitsFirst

Type: UInt32

The value of the bits to AND with the corresponding bit in the datapoint.

Remarks

This method does not change the value of the datapoint if the user did not opt in to allow Software Quality Metrics (SQM) data collection (the SP.BWsaClient.isUserOptedIn() Method returns false).

This method sets the bits in the datapoint using OR and AND operations if the datapoint exists; otherwise, it creates a new datapoint.

Applies To

SP.BWsaClient Class

See Also

Reference

SP.BWsaClient Methods

SP.BWsaClient Properties

SP Namespace