UIConnectionInfoUtil Class

Definition

Represents the utility functions for working with UIConnectionInfo objects.

public ref class UIConnectionInfoUtil sealed
public sealed class UIConnectionInfoUtil
type UIConnectionInfoUtil = class
Public NotInheritable Class UIConnectionInfoUtil
Inheritance
UIConnectionInfoUtil

Constructors

UIConnectionInfoUtil()

Initializes a new instance of the UIConnectionInfoUtil class.

Properties

ProtocolNamesMap

Represents a collection of key protocol values that are organized based on the hash code of the key.

Methods

FillInRegisteredServerFromConnectionInfo(RegisteredServer, UIConnectionInfo, IServerType)

Retrieves the registered server settings from the connection information.

GetAdditionalParams(UIConnectionInfo)

Returns the additional parameters for the given connection.

GetConnectionProtocol(String)

Returns a SqlManagement Core NetworkProtocol object indicating the connection protocol that has the specified protocol name.

GetConnectionProtocol(UIConnectionGroupInfo)

Returns a SqlManagement Core NetworkProtocol object indicating the connection protocol from the first connection information in the list.

GetConnectionProtocol(UIConnectionInfo)

Returns a SqlManagement Core NetworkProtocol object indicating the connection protocol that has the specified connection information.

GetConnectionTimeout(UIConnectionGroupInfo)

Retrieves the connection timeout for a UIConnectionInfo object from the first connection info in the list with the specified list of connection information.

GetConnectionTimeout(UIConnectionInfo)

Retrieves the connection timeout for a UIConnection object with the specified connection information.

GetCoreConnectionInfo(UIConnectionGroupInfo)

Retrieves the enumerator style connection objects out of the specified UIConnectionInfo objects with the specified list of connection information.

GetCoreConnectionInfo(UIConnectionGroupInfo, Boolean)

Retrieves the enumerator style connection object out of the specified UIConnectionInfo object from the first connection information in the list with the specified database parameter.

GetCoreConnectionInfo(UIConnectionInfo)

Retrieves the enumerator style connection object out of the specified UIConnectionInfo object with the specified source parameter.

GetCoreConnectionInfo(UIConnectionInfo, Boolean)

Retrieves the enumerator style connection object out of the specified UIConnectionInfo object with the specified source and database.

GetCoreConnectionType(UIConnectionGroupInfo)

Retrieves the enumerator connection type that corresponds to the given UIConnectionInfo structure from the first connection information in the list.

GetCoreConnectionType(UIConnectionInfo)

Retrieves enumerator connection type that corresponds to the given UIConnectionInfo structure.

GetCustomConnectionColor(UIConnectionInfo)

Retrieves the custom connection color with the specified connection information.

GetDatabaseName(UIConnectionGroupInfo)

Retrieves the database name from the connection object with the specified connection information list.

GetDatabaseName(UIConnectionInfo)

Retrieves the database name from the connection object with specified connection information.

GetEncryptConnection(UIConnectionGroupInfo)

Returns whether the Encrypt connection option is specified from the first connection information list.

GetEncryptConnection(UIConnectionInfo)

Returns whether the Encrypt connection option is specified or not with specified connection information.

GetExecutionTimeout(UIConnectionGroupInfo)

Retrieves the execution timeout from the connection info from the specified connection information list.

GetExecutionTimeout(UIConnectionInfo)

Retrieves the execution timeout from the connection information.

GetIntegratedSecurity(UIConnectionInfo)
GetPacketSize(UIConnectionGroupInfo)

Returns packet size for SQL connection with the specified connection information list.

GetPacketSize(UIConnectionInfo)

Returns packet size for SQL connection info encapsulated by UIConnectionInfo.

GetServerType(Guid)

Specifies the type of server to get from the UIConnectionInfo object.

GetServerType(ServerType)

Determines the type of server to get from UIConnectionInfo.

GetServerType(UIConnectionInfo)

Determines the type of server to get from the UIConnectionInfo object.

GetTrustServerCertificate(UIConnectionInfo)
GetUIConnectionInfoFromConnectionString(String, IServerType)

Indicates the connection info to get from the specified connection string.

GetUseCustomConnectionColor(UIConnectionInfo)

Specifies the custom color to use for the UIConnectionInfo object.

GetYukonUIConnectionInfoFromRegisteredServer(RegisteredServer, IServerType)

Indicates the YukonUIConnectionInfo settings to get from the registered server.

IsActiveDirectoryIntegratedAuthentication(UIConnectionInfo)
IsActiveDirectoryPasswordAuthentication(UIConnectionInfo)
IsWindowsAuthentication(UIConnectionGroupInfo)

Determines if the UIConnectionInfo object uses Windows Authentication with the specified connection info list parameter.

IsWindowsAuthentication(UIConnectionInfo)

Determines if the UIConnectionInfo object uses Windows Authentication with the specified connection information.

NewConnectionFromQEEvent(Object, UIConnectionGroupInfo)

Executes the NewConnectionFromQE event if somebody has subscribed to it with the specified sender and connection information list.

NewConnectionFromQEEvent(Object, UIConnectionInfo)

Executes the NewConnectionFromQE event if somebody has subscribed to it with the sender and connection information.

SetAdditionalParams(UIConnectionInfo, String)

Sets the additional parameters for the given connection.

SetConnectionProtocol(UIConnectionGroupInfo, NetworkProtocol)

Specifies the connection protocol for all connection information in the list with the specified protocol parameter.

SetConnectionProtocol(UIConnectionInfo, NetworkProtocol)

Specifies the connection protocol for all connection information with the specified connection information and protocol parameter.

SetConnectionProtocol(UIConnectionInfo, String)

Initiates the connection protocol settings.

SetConnectionTimeout(UIConnectionGroupInfo, Int32)

Specifies the connection timeout value for a given UIConnectionInfo object with the specified connection information list and timeout parameter.

SetConnectionTimeout(UIConnectionInfo, Int32)

Specifies the connection timeout value for a given UIConnectionInfo object with the specified with the specified connection information and timeout parameter.

SetCustomConnectionColor(UIConnectionInfo, Color)

Stores CustomConnectionColor option in the specified UIConnectionInfo object.

SetDatabaseName(UIConnectionGroupInfo, String)

Specifies the database name for all elements in the list of the UIConnectionInfo object.

SetDatabaseName(UIConnectionInfo, String)

Specifies the database name for the passed UIConnectionInfo object.

SetEncryptConnection(UIConnectionGroupInfo, Boolean)

Stores the encrypt connection option in the specified UIConnectionInfo object with the specified connection information in the list and encryption value.

SetEncryptConnection(UIConnectionInfo, Boolean)

Stores the Encrypt connection option in the specified UIConnectionInfo object that has the specified connection information and encryption value.

SetExecutionTimeout(UIConnectionGroupInfo, Int32)

Specifies the execution timeout value for all elements in the list of the UIConnectionInfo object.

SetExecutionTimeout(UIConnectionInfo, Int32)

Specifies the execution timeout value for the given UIConnectionInfo object.

SetPacketSize(UIConnectionGroupInfo, Int32)

Specifies packet size for all elements in the list of the UIConnectionInfo object with the specified size parameter.

SetPacketSize(UIConnectionInfo, Int32)

Specifies packet size for SQL connection info encapsulated by the UIConnectionInfo object.

SetTrustServerCertificate(UIConnectionInfo, Boolean)
SetUseCustomConnectionColor(UIConnectionInfo, Boolean)

Stores the UseCustomConnectionColor option in the specified UIConnectionInfo object.

SetWindowsAuthentication(UIConnectionGroupInfo, Boolean)

Specifies whether to use Windows Authentication for all elements in the list of the UIConnectionInfo object.

SetWindowsAuthentication(UIConnectionInfo, Boolean)

Specifies the UIConnectionInfo object to use Windows Authentication if enable.

Events

NewConnectionFromQE

Occurs when the prototype of NewConnectionFromQE event that will be fired by QE part of SQL workbench when it establishes a new connection.

Applies to