QEStatusBarManager.SetKnownState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- newState
- QEStatusBarKnownStates
A QEStatusBarKnownStates object.
- 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
- newState
- QEStatusBarKnownStates
A QEStatusBarKnownStates object.
Returns
A string value that specifies the new status.