QEStatusBarManager 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
SQL Server 工具类,负责与状态栏的交互
public ref class QEStatusBarManager sealed
public sealed class QEStatusBarManager
type QEStatusBarManager = class
Public NotInheritable Class QEStatusBarManager
- 继承
-
QEStatusBarManager
字段
| 名称 | 说明 |
|---|---|
| NoProgressEstimate |
SQL Server 工具类,负责与状态栏的交互 |
属性
| 名称 | 说明 |
|---|---|
| CurrentState |
返回当前值。QEStatusBarKnownStates |
| IsInitialized |
获得一个布尔值,指定是否可以安全调用该类其他方法。 (调用初始化总是安全的。) |
| LoginName |
获取登录名字符串。 |
| ProgressCompletionEstimate |
SQL Server 工具类,负责与状态栏的交互 |
| StatusText |
获取或设置通用面板上显示的状态文本。 |
方法
| 名称 | 说明 |
|---|---|
| Finalize() |
SQL Server 工具类,负责与状态栏的交互 |
| SetCurrentDatabase(String) |
更新数据库面板。 |
| SetExecutionTime(DateTime, DateTime) |
更新执行时间面板。 |
| SetKnownState(QEStatusBarKnownStates, Int32, Int32) |
将状态栏切换到已知状态之一。 该类管理这些状态的图标和文本。 |
| SetKnownState(QEStatusBarKnownStates) |
将状态栏切换到已知状态之一。 该类管理这些状态的图标和文本。 |
| SetRowsAffected(Int64) |
设置受影响的行。 |
| SetServerBackground(Color) |
更改服务器名称面板的背景颜色。 支持用户高亮与特定服务器的连接。 |
| TransitionIntoOfflineMode() |
切换到离线模式。 |
| TransitionIntoOnlineMode(String, String, Int32, Int32, Boolean, Color) |
确保状态栏处于在线模式,必要时切换到在线模式,并更新适用于该模式的信息。 |
| TransitionIntoOnlineMode(String, String, Int32, Int32) |
确保状态栏处于在线模式,必要时切换到在线模式,并更新适用于该模式的信息。 |
| TransitionIntoOnlineMode(String, String) |
确保状态栏处于在线模式,必要时切换到在线模式,并更新适用于该模式的信息。 |
| UpdateStatusBar() |
更新状态栏的颜色和布局。 |