Partilhar via


SP.BWsaClient.getSQMLocationFromCUICommandInfo(commandInfo) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

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

var value = SP.BWsaClient.getSQMLocationFromCUICommandInfo(commandInfo);

Parameters

commandInfo

Type: Dictionary

The command information to provide the location of the SQM.

Return Value

Type: Int32

The location of the SQM.

Value

Description

0

The location is unknown.

1

The location is the upper ribbon.

0

The location is the lower ribbon.

3

The location is the Quick Access Toolbar.

4

The location is the Microsoft Office button.

Remarks

This method returns 0 if the specified command information is not defined.

Applies To

SP.BWsaClient Class

See Also

Reference

SP.BWsaClient Methods

SP.BWsaClient Properties

SP Namespace