QEStatusBarManager.SetKnownState 方法

定义

将状态栏转变为其已知状态之一。 此类同时管理这些状态的图标和文本。

重载

SetKnownState(QEStatusBarKnownStates, Int32, Int32)

将状态栏转变为其已知状态之一。 此类同时管理这些状态的图标和文本。

SetKnownState(QEStatusBarKnownStates)

将状态栏转变为其已知状态之一。 此类同时管理这些状态的图标和文本。

SetKnownState(QEStatusBarKnownStates, Int32, Int32)

将状态栏转变为其已知状态之一。 此类同时管理这些状态的图标和文本。

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

参数

openConnectionCount
Int32

一个指定打开的连接数的整数值。

totalConnectionCount
Int32

一个指定连接总数的整数值。

返回

一个指定新状态的字符串。

适用于

SetKnownState(QEStatusBarKnownStates)

将状态栏转变为其已知状态之一。 此类同时管理这些状态的图标和文本。

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

参数

返回

一个指定新状态的字符串值。

适用于