QEStatusBarManager.TransitionIntoOnlineMode Method (String, String, Int32, Int32, Boolean, Color)
Ensure that the status bar is in online mode, transitions into it if needed, and updates information applicable to such mode.
Namespace: Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly: SQLEditors (in SQLEditors.dll)
Syntax
'Declaration
Public Sub TransitionIntoOnlineMode ( _
serverNameText As String, _
userNameText As String, _
openConnectionCount As Integer, _
totalConnectionCount As Integer, _
useCustomConnectionColor As Boolean, _
customConnectionColor As Color _
)
'Usage
Dim instance As QEStatusBarManager
Dim serverNameText As String
Dim userNameText As String
Dim openConnectionCount As Integer
Dim totalConnectionCount As Integer
Dim useCustomConnectionColor As Boolean
Dim customConnectionColor As Color
instance.TransitionIntoOnlineMode(serverNameText, _
userNameText, openConnectionCount, _
totalConnectionCount, useCustomConnectionColor, _
customConnectionColor)
public void TransitionIntoOnlineMode(
string serverNameText,
string userNameText,
int openConnectionCount,
int totalConnectionCount,
bool useCustomConnectionColor,
Color customConnectionColor
)
public:
void TransitionIntoOnlineMode(
String^ serverNameText,
String^ userNameText,
int openConnectionCount,
int totalConnectionCount,
bool useCustomConnectionColor,
Color customConnectionColor
)
member TransitionIntoOnlineMode :
serverNameText:string *
userNameText:string *
openConnectionCount:int *
totalConnectionCount:int *
useCustomConnectionColor:bool *
customConnectionColor:Color -> unit
public function TransitionIntoOnlineMode(
serverNameText : String,
userNameText : String,
openConnectionCount : int,
totalConnectionCount : int,
useCustomConnectionColor : boolean,
customConnectionColor : Color
)
Parameters
- serverNameText
Type: System.String
A string value that specifies the name of the server (group).
- userNameText
Type: System.String
A string value that specifies the name of the user.
- openConnectionCount
Type: System.Int32
An integer value that specifies the number of open connections.
- totalConnectionCount
Type: System.Int32
An integer value that specifies the number of connections
- useCustomConnectionColor
Type: System.Boolean
A Boolean value that specifies whether or not to use a custom connection color.
- customConnectionColor
Type: System.Drawing.Color
A Color object that specifies the background color to use for this connection.
See Also
Reference
TransitionIntoOnlineMode Overload
Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace