Share via


QEStatusBarManager Class

SQL Server Utility class that handles interaction with the status bars

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.UI.VSIntegration.Editors.QEStatusBarManager

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors (in SQLEditors.dll)

Syntax

'Declaration
Public NotInheritable Class QEStatusBarManager
'Usage
Dim instance As QEStatusBarManager
public sealed class QEStatusBarManager
public ref class QEStatusBarManager sealed
[<SealedAttribute>]
type QEStatusBarManager =  class end
public final class QEStatusBarManager

The QEStatusBarManager type exposes the following members.

Properties

  Name Description
Public property CurrentState Returns the current value of QEStatusBarKnownStates.
Public property IsInitialized Gets a Boolean value that specifies whether it is safe to call other methods of this class. (It is always safe to call Initialize.)
Public property LoginName Gets the login name string.
Public property StatusText Gets or sets the status text shown on the general panel.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method SetCurrentDatabase Updates database panel.
Public method SetExecutionTime Updates the execution time panel.
Public method 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 method 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 method SetRowsAffected Sets rows affected.
Public method SetServerBackground Changes the background color used for the server name panel. Provides support for the user to highlight connections made to specific servers.
Public method ToString (Inherited from Object.)
Public method TransitionIntoOfflineMode Transitions into Offline mode.
Public method TransitionIntoOnlineMode(String, String) Ensures that the status bar is in online mode, transitions into it if needed, and updates information applicable to such mode.
Public method TransitionIntoOnlineMode(String, String, Int32, Int32) Ensure that the status bar is in online mode, transitions into it if needed, and updates information applicable to such mode.
Public method TransitionIntoOnlineMode(String, String, Int32, Int32, Boolean, Color) Ensure that the status bar is in online mode, transitions into it if needed, and updates information applicable to such mode.
Public method UpdateStatusBar Updates the status bar colors and layout.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace