QEStatusBarManager.SetKnownState 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將狀態列轉換成其中一種已知的狀態。 此類別會同時管理這些狀態的圖示和文字。
多載
| 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
參數
- newState
- QEStatusBarKnownStates
- 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
參數
- newState
- QEStatusBarKnownStates
傳回
指定新狀態的字串值。