UIConnectionInfoUtil Class

 

Represents the utility functions for working with UIConnectionInfo objects.

Namespace:   Microsoft.SqlServer.Management.UI.ConnectionDlg
Assembly:  ConnectionDlg (in ConnectionDlg.dll)

System.Object
  Microsoft.SqlServer.Management.UI.ConnectionDlg.UIConnectionInfoUtil

public sealed class UIConnectionInfoUtil

NameDescription
System_CAPS_pubmethodUIConnectionInfoUtil()

Initializes a new instance of the UIConnectionInfoUtil class.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticProtocolNamesMap

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

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFillInRegisteredServerFromConnectionInfo(RegisteredServer, UIConnectionInfo, IServerType)

Retrieves the registered server settings from the connection information.

System_CAPS_pubmethodSystem_CAPS_staticGetAdditionalParams(UIConnectionInfo)

Returns the additional parameters for the given connection.

System_CAPS_pubmethodSystem_CAPS_staticGetConnectionProtocol(String)

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

System_CAPS_pubmethodSystem_CAPS_staticGetConnectionProtocol(UIConnectionGroupInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticGetConnectionProtocol(UIConnectionInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticGetConnectionTimeout(UIConnectionGroupInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticGetConnectionTimeout(UIConnectionInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticGetCoreConnectionInfo(UIConnectionGroupInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticGetCoreConnectionInfo(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.

System_CAPS_pubmethodSystem_CAPS_staticGetCoreConnectionInfo(UIConnectionInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticGetCoreConnectionInfo(UIConnectionInfo, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticGetCoreConnectionType(UIConnectionGroupInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticGetCoreConnectionType(UIConnectionInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticGetCustomConnectionColor(UIConnectionInfo)

Retrieves the custom connection color with the specified connection information.

System_CAPS_pubmethodSystem_CAPS_staticGetDatabaseName(UIConnectionGroupInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticGetDatabaseName(UIConnectionInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticGetEncryptConnection(UIConnectionGroupInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticGetEncryptConnection(UIConnectionInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticGetExecutionTimeout(UIConnectionGroupInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticGetExecutionTimeout(UIConnectionInfo)

Retrieves the execution timeout from the connection information.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetPacketSize(UIConnectionGroupInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticGetPacketSize(UIConnectionInfo)

Returns packet size for SQL connection info encapsulated by UIConnectionInfo.

System_CAPS_pubmethodSystem_CAPS_staticGetServerType(Guid)

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

System_CAPS_pubmethodSystem_CAPS_staticGetServerType(ServerType)

Determines the type of server to get from UIConnectionInfo.

System_CAPS_pubmethodSystem_CAPS_staticGetServerType(UIConnectionInfo)

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

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetUIConnectionInfoFromConnectionString(String, IServerType)

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

System_CAPS_pubmethodSystem_CAPS_staticGetUseCustomConnectionColor(UIConnectionInfo)

Specifies the custom color to use for the UIConnectionInfo object.

System_CAPS_pubmethodSystem_CAPS_staticGetYukonUIConnectionInfoFromRegisteredServer(RegisteredServer, IServerType)

Indicates the YukonUIConnectionInfo settings to get from the registered server.

System_CAPS_pubmethodSystem_CAPS_staticIsWindowsAuthentication(UIConnectionGroupInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticIsWindowsAuthentication(UIConnectionInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticNewConnectionFromQEEvent(Object, UIConnectionGroupInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticNewConnectionFromQEEvent(Object, UIConnectionInfo)

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

System_CAPS_pubmethodSystem_CAPS_staticSetAdditionalParams(UIConnectionInfo, String)

Sets the additional parameters for the given connection.

System_CAPS_pubmethodSystem_CAPS_staticSetConnectionProtocol(UIConnectionGroupInfo, NetworkProtocol)

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

System_CAPS_pubmethodSystem_CAPS_staticSetConnectionProtocol(UIConnectionInfo, NetworkProtocol)

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

System_CAPS_pubmethodSystem_CAPS_staticSetConnectionProtocol(UIConnectionInfo, String)

Initiates the connection protocol settings.

System_CAPS_pubmethodSystem_CAPS_staticSetConnectionTimeout(UIConnectionGroupInfo, Int32)

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

System_CAPS_pubmethodSystem_CAPS_staticSetConnectionTimeout(UIConnectionInfo, Int32)

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

System_CAPS_pubmethodSystem_CAPS_staticSetCustomConnectionColor(UIConnectionInfo, Color)

Stores CustomConnectionColor option in the specified UIConnectionInfo object.

System_CAPS_pubmethodSystem_CAPS_staticSetDatabaseName(UIConnectionGroupInfo, String)

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

System_CAPS_pubmethodSystem_CAPS_staticSetDatabaseName(UIConnectionInfo, String)

Specifies the database name for the passed UIConnectionInfo object.

System_CAPS_pubmethodSystem_CAPS_staticSetEncryptConnection(UIConnectionGroupInfo, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetEncryptConnection(UIConnectionInfo, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetExecutionTimeout(UIConnectionGroupInfo, Int32)

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

System_CAPS_pubmethodSystem_CAPS_staticSetExecutionTimeout(UIConnectionInfo, Int32)

Specifies the execution timeout value for the given UIConnectionInfo object.

System_CAPS_pubmethodSystem_CAPS_staticSetPacketSize(UIConnectionGroupInfo, Int32)

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

System_CAPS_pubmethodSystem_CAPS_staticSetPacketSize(UIConnectionInfo, Int32)

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

System_CAPS_pubmethodSystem_CAPS_staticSetUseCustomConnectionColor(UIConnectionInfo, Boolean)

Stores the UseCustomConnectionColor option in the specified UIConnectionInfo object.

System_CAPS_pubmethodSystem_CAPS_staticSetWindowsAuthentication(UIConnectionGroupInfo, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetWindowsAuthentication(UIConnectionInfo, Boolean)

Specifies the UIConnectionInfo object to use Windows Authentication if enable.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventSystem_CAPS_staticNewConnectionFromQE

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

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: