Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

UIConnectionInfoUtil Class

Represents the utility functions for working with UIConnectionInfo objects.

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

Namespace:  Microsoft.SqlServer.Management.UI.ConnectionDlg
Assembly:  ConnectionDlg (in ConnectionDlg.dll)
public sealed class UIConnectionInfoUtil

The UIConnectionInfoUtil type exposes the following members.

  NameDescription
Public methodUIConnectionInfoUtilInitializes a new instance of the UIConnectionInfoUtil class.
Top
  NameDescription
Public propertyStatic memberProtocolNamesMapRepresents a collection of key protocol values that are organized based on the hash code of the key.
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodStatic memberFillInRegisteredServerFromConnectionInfoRetrieves the registered server settings from the connection information.
Public methodStatic memberGetAdditionalParamsReturns the additional parameters for the given connection.
Public methodStatic memberGetConnectionProtocol(UIConnectionGroupInfo)Returns a SqlManagement Core NetworkProtocol object indicating the connection protocol from the first connection information in the list.
Public methodStatic memberGetConnectionProtocol(UIConnectionInfo)Returns a SqlManagement Core NetworkProtocol object indicating the connection protocol that has the specified connection information.
Public methodStatic memberGetConnectionProtocol(String)Returns a SqlManagement Core NetworkProtocol object indicating the connection protocol that has the specified protocol name.
Public methodStatic memberGetConnectionTimeout(UIConnectionGroupInfo)Retrieves the connection timeout for a UIConnectionInfo object from the first connection info in the list with the specified list of connection information.
Public methodStatic memberGetConnectionTimeout(UIConnectionInfo)Retrieves the connection timeout for a UIConnection object with the specified connection information.
Public methodStatic memberGetCoreConnectionInfo(UIConnectionGroupInfo)Retrieves the enumerator style connection objects out of the specified UIConnectionInfo objects with the specified list of connection information.
Public methodStatic memberGetCoreConnectionInfo(UIConnectionInfo)Retrieves the enumerator style connection object out of the specified UIConnectionInfo object with the specified source parameter.
Public methodStatic memberGetCoreConnectionInfo(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.
Public methodStatic memberGetCoreConnectionInfo(UIConnectionInfo, Boolean)Retrieves the enumerator style connection object out of the specified UIConnectionInfo object with the specified source and database.
Public methodStatic memberGetCoreConnectionType(UIConnectionGroupInfo)Retrieves the enumerator connection type that corresponds to the given UIConnectionInfo structure from the first connection information in the list.
Public methodStatic memberGetCoreConnectionType(UIConnectionInfo)Retrieves enumerator connection type that corresponds to the given UIConnectionInfo structure.
Public methodStatic memberGetCustomConnectionColorRetrieves the custom connection color with the specified connection information.
Public methodStatic memberGetDatabaseName(UIConnectionGroupInfo)Retrieves the database name from the connection object with the specified connection information list.
Public methodStatic memberGetDatabaseName(UIConnectionInfo)Retrieves the database name from the connection object with specified connection information.
Public methodStatic memberGetEncryptConnection(UIConnectionGroupInfo)Returns whether the Encrypt connection option is specified from the first connection information list.
Public methodStatic memberGetEncryptConnection(UIConnectionInfo)Returns whether the Encrypt connection option is specified or not with specified connection information.
Public methodStatic memberGetExecutionTimeout(UIConnectionGroupInfo)Retrieves the execution timeout from the connection info from the specified connection information list.
Public methodStatic memberGetExecutionTimeout(UIConnectionInfo)Retrieves the execution timeout from the connection information.
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetPacketSize(UIConnectionGroupInfo)Returns packet size for SQL connection with the specified connection information list.
Public methodStatic memberGetPacketSize(UIConnectionInfo)Returns packet size for SQL connection info encapsulated by UIConnectionInfo.
Public methodStatic memberGetServerType(ServerType)Determines the type of server to get from UIConnectionInfo.
Public methodStatic memberGetServerType(UIConnectionInfo)Determines the type of server to get from the UIConnectionInfo object.
Public methodStatic memberGetServerType(Guid)Specifies the type of server to get from the UIConnectionInfo object.
Public methodGetType (Inherited from Object.)
Public methodStatic memberGetUIConnectionInfoFromConnectionStringIndicates the connection info to get from the specified connection string.
Public methodStatic memberGetUseCustomConnectionColorSpecifies the custom color to use for the UIConnectionInfo object.
Public methodStatic memberGetYukonUIConnectionInfoFromRegisteredServerIndicates the YukonUIConnectionInfo settings to get from the registered server.
Public methodStatic memberIsWindowsAuthentication(UIConnectionGroupInfo)Determines if the UIConnectionInfo object uses Windows Authentication with the specified connection info list parameter.
Public methodStatic memberIsWindowsAuthentication(UIConnectionInfo)Determines if the UIConnectionInfo object uses Windows Authentication with the specified connection information.
Public methodStatic memberNewConnectionFromQEEvent(Object, UIConnectionGroupInfo)Executes the NewConnectionFromQE event if somebody has subscribed to it with the specified sender and connection information list.
Public methodStatic memberNewConnectionFromQEEvent(Object, UIConnectionInfo)Executes the NewConnectionFromQE event if somebody has subscribed to it with the sender and connection information.
Public methodStatic memberSetAdditionalParamsSets the additional parameters for the given connection.
Public methodStatic memberSetConnectionProtocol(UIConnectionGroupInfo, NetworkProtocol)Specifies the connection protocol for all connection information in the list with the specified protocol parameter.
Public methodStatic memberSetConnectionProtocol(UIConnectionInfo, NetworkProtocol)Specifies the connection protocol for all connection information with the specified connection information and protocol parameter.
Public methodStatic memberSetConnectionProtocol(UIConnectionInfo, String)Initiates the connection protocol settings.
Public methodStatic memberSetConnectionTimeout(UIConnectionGroupInfo, Int32)Specifies the connection timeout value for a given UIConnectionInfo object with the specified connection information list and timeout parameter.
Public methodStatic memberSetConnectionTimeout(UIConnectionInfo, Int32)Specifies the connection timeout value for a given UIConnectionInfo object with the specified with the specified connection information and timeout parameter.
Public methodStatic memberSetCustomConnectionColorStores CustomConnectionColor option in the specified UIConnectionInfo object.
Public methodStatic memberSetDatabaseName(UIConnectionGroupInfo, String)Specifies the database name for all elements in the list of the UIConnectionInfo object.
Public methodStatic memberSetDatabaseName(UIConnectionInfo, String)Specifies the database name for the passed UIConnectionInfo object.
Public methodStatic memberSetEncryptConnection(UIConnectionGroupInfo, Boolean)Stores the encrypt connection option in the specified UIConnectionInfo object with the specified connection information in the list and encryption value.
Public methodStatic memberSetEncryptConnection(UIConnectionInfo, Boolean)Stores the Encrypt connection option in the specified UIConnectionInfo object that has the specified connection information and encryption value.
Public methodStatic memberSetExecutionTimeout(UIConnectionGroupInfo, Int32)Specifies the execution timeout value for all elements in the list of the UIConnectionInfo object.
Public methodStatic memberSetExecutionTimeout(UIConnectionInfo, Int32)Specifies the execution timeout value for the given UIConnectionInfo object.
Public methodStatic memberSetPacketSize(UIConnectionGroupInfo, Int32)Specifies packet size for all elements in the list of the UIConnectionInfo object with the specified size parameter.
Public methodStatic memberSetPacketSize(UIConnectionInfo, Int32)Specifies packet size for SQL connection info encapsulated by the UIConnectionInfo object.
Public methodStatic memberSetUseCustomConnectionColorStores the UseCustomConnectionColor option in the specified UIConnectionInfo object.
Public methodStatic memberSetWindowsAuthentication(UIConnectionGroupInfo, Boolean)Specifies whether to use Windows Authentication for all elements in the list of the UIConnectionInfo object.
Public methodStatic memberSetWindowsAuthentication(UIConnectionInfo, Boolean)Specifies the UIConnectionInfo object to use Windows Authentication if enable.
Public methodToString (Inherited from Object.)
Top
  NameDescription
Public eventStatic memberNewConnectionFromQEOccurs when the prototype of NewConnectionFromQE event that will be fired by QE part of SQL workbench when it establishes a new connection.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.