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

整數值,指定連接總數。

傳回

String

指定新狀態的字串。

適用於

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

參數

傳回

String

指定新狀態的字串值。

適用於