Partilhar via


SP.BWsaClient.createStream(WsaStreamEntryId, dwStreamType, dwWidth, dwMaxRows) Method

Applies to: SharePoint Foundation 2010

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

SP.BWsaClient.createStream(WsaStreamEntryId, dwStreamType, dwWidth, dwMaxRows);

Parameters

WsaStreamEntryId

Type: UInt32

The ID of the stream.

dwStreamType

Type: UInt32

The type of the stream.

dwWidth

Type: UInt32

The width of the stream.

dwMaxRows

Type: UInt32

The maximum rows of the stream.

Remarks

This method does not create the stream if any of the following conditions is true:

  • The user did not opt in Software Quality Metrics (SQM) data collection (the SP.BWsaClient.isUserOptedIn() Method returns false).

  • The value of the WsaStreamEntryId parameter is less than 1 or greater than 0x7FFFFFFF.

  • The value of the dwStreamType parameter is not one of the SP.BWsaStreamTypes Enumeration enumeration values.

  • The value of the dwWidth parameter is less than 1 or greater than 9.

  • The limit of the maximum size of the data collected (64 KB) has been reached.

  • A stream whose ID is WsaStreamEntryId already exists.

Applies To

SP.BWsaClient Class

See Also

Reference

SP.BWsaClient Methods

SP.BWsaClient Properties

SP Namespace