QEStatusBarManager.SetKnownState Method

Definition

Transitions the status bar into one of its known states. This class manages both the icon and the text for those states.

Overloads

SetKnownState(QEStatusBarKnownStates, Int32, Int32)

Transitions the status bar into one of its known states. This class manages both the icon and the text for those states.

SetKnownState(QEStatusBarKnownStates)

Transitions the status bar into one of its known states. This class manages both the icon and the text for those states.

SetKnownState(QEStatusBarKnownStates, Int32, Int32)

Transitions the status bar into one of its known states. This class manages both the icon and the text for those states.

public:
 System::String ^ SetKnownState(Microsoft::SqlServer::Management::UI::VSIntegration::Editors::QEStatusBarKnownStates newState, int openConnectionCount, int totalConnectionCount);
public string SetKnownState (Microsoft.SqlServer.Management.UI.VSIntegration.Editors.QEStatusBarKnownStates newState, int openConnectionCount, int totalConnectionCount);
member this.SetKnownState : Microsoft.SqlServer.Management.UI.VSIntegration.Editors.QEStatusBarKnownStates * int * int -> string
Public Function SetKnownState (newState As QEStatusBarKnownStates, openConnectionCount As Integer, totalConnectionCount As Integer) As String

Parameters

openConnectionCount
Int32

An integer value that specifies the number of open connections.

totalConnectionCount
Int32

An integer value that specifies the total number of connections.

Returns

A string that specifies the new status.

Applies to

SetKnownState(QEStatusBarKnownStates)

Transitions the status bar into one of its known states. This class manages both the icon and the text for those states.

public:
 System::String ^ SetKnownState(Microsoft::SqlServer::Management::UI::VSIntegration::Editors::QEStatusBarKnownStates newState);
public string SetKnownState (Microsoft.SqlServer.Management.UI.VSIntegration.Editors.QEStatusBarKnownStates newState);
member this.SetKnownState : Microsoft.SqlServer.Management.UI.VSIntegration.Editors.QEStatusBarKnownStates -> string
Public Function SetKnownState (newState As QEStatusBarKnownStates) As String

Parameters

Returns

A string value that specifies the new status.

Applies to