QEStatusBarManager.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.

네임스페이스:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
어셈블리:  SQLEditors(SQLEditors.dll)

구문

‘선언
Public Function SetKnownState ( _
    newState As QEStatusBarKnownStates, _
    openConnectionCount As Integer, _
    totalConnectionCount As Integer _
) As String
‘사용 방법
Dim instance As QEStatusBarManager 
Dim newState As QEStatusBarKnownStates 
Dim openConnectionCount As Integer 
Dim totalConnectionCount As Integer 
Dim returnValue As String 

returnValue = instance.SetKnownState(newState, _
    openConnectionCount, totalConnectionCount)
public string SetKnownState(
    QEStatusBarKnownStates newState,
    int openConnectionCount,
    int totalConnectionCount
)
public:
String^ SetKnownState(
    QEStatusBarKnownStates newState, 
    int openConnectionCount, 
    int totalConnectionCount
)
member SetKnownState : 
        newState:QEStatusBarKnownStates * 
        openConnectionCount:int * 
        totalConnectionCount:int -> string
public function SetKnownState(
    newState : QEStatusBarKnownStates, 
    openConnectionCount : int, 
    totalConnectionCount : int
) : String

매개 변수

  • openConnectionCount
    유형: System.Int32
    An integer value that specifies the number of open connections.
  • totalConnectionCount
    유형: System.Int32
    An integer value that specifies the total number of connections.

반환 값

유형: System.String
A string that specifies the new status.

참고 항목

참조

QEStatusBarManager 클래스

SetKnownState 오버로드

Microsoft.SqlServer.Management.UI.VSIntegration.Editors 네임스페이스