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