QEStatusBarManager.SetKnownState Method

Definition

将状态栏转变为其已知状态之一。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

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

String

一个指定新状态的字符串。A string that specifies the new status.

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

Returns

String

一个指定新状态的字符串值。A string value that specifies the new status.

Applies to