语言

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

参数

返回

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

适用于