UIConnectionInfo Class

Do not reference this member directly in your code. It supports the SQL Server infrastructure. The UIConnectionInfo class represents the information set in a SQL Server Management Studio connection dialog, and the associated connection to an instance of the SQL Server Database Engine.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)

Syntax

'Declaration
Public Class UIConnectionInfo _
    Implements IComparable(Of UIConnectionInfo)
'Usage
Dim instance As UIConnectionInfo
public class UIConnectionInfo : IComparable<UIConnectionInfo>
public ref class UIConnectionInfo : IComparable<UIConnectionInfo^>
type UIConnectionInfo =  
    class 
        interface IComparable<UIConnectionInfo>
    end
public class UIConnectionInfo implements IComparable<UIConnectionInfo>

The UIConnectionInfo type exposes the following members.

Constructors

  Name Description
Public method UIConnectionInfo() Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Initializes a default UIConnectionInfo object for a SQL Server Management Studio connection dialog.
Public method UIConnectionInfo(UIConnectionInfo) Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Initializes a new instance of the UIConnectionInfo class with the same properties as an existing UIConnectionInfo object and makes another connection to the associated server.
Public method UIConnectionInfo(UIConnectionInfo, Boolean) Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Initializes a new UIConnectionInfo object with the properties of an existing UIConnectionInfo object and makes another connection to the associated server.

Top

Properties

  Name Description
Public property AdvancedOptions Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets the advanced options set in a connection dialog.
Public property ApplicationName Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets the name of the application in a connection dialog.
Public property AuthenticationType Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a Int32 value that specifies whether the connection dialog should use SQL Server Authentication or Windows Authentication.
Public property DisplayName Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a String value that specifies the display name of the connection.
Public property EncryptedPassword Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets the encrypted password of the UIConnectionInfo.
Public property Id Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets the connection identifier.
Public property OtherParams Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets the other parameters for the connection.
Public property Password Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a String value that specifies the login password for the connection when using SQL Server Authentication.
Public property PersistPassword Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a Boolean value indicating whether the password of the UIConnectionInfo should be persisted.
Public property ServerName Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a String value that specifies the name of the instance of the Database Engine for the connection.
Public property ServerNameNoDot Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets a String value that specifies the name of the instance of the Database Engine for the connection. If only a period (.) was specified in the dialog, ServerNameNoDot returns (local).
Public property ServerType Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a guid that identifies the type of server the connection uses.
Public property ServerVersion Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a ServerVersion object that specifies the version of the instance of the Database Engine for the connection.
Public property UserName Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a String value that specifies the login name for the connection.

Top

Methods

  Name Description
Public method CompareTo Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Used to determine the sort order of the current UIConnectionInfo object in relation to another UIConnectionInfo object.
Public method Copy Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Creates a new UIConnectionInfo object based on the properties of the current object.
Public method Equals Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Determines whether the specified Object is equal to the current Object. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Returns the hash code for the specified type. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Public methodStatic member LoadFromStream Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Loads a connection from the specified stream.
Protected method MemberwiseClone (Inherited from Object.)
Public method SaveToStream Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Persists connection info to the specified XML stream.
Public method ToString (Inherited from Object.)

Top

Operators

  Name Description
Public operatorStatic member Equality(Object, UIConnectionInfo) Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Determines whether the specified Object is the same as the specified UIConnectionInfo object.
Public operatorStatic member Equality(UIConnectionInfo, UIConnectionInfo) Do not reference this member directly in your code. It supports the SQL Server infrastructure. Determines whether two specified UIConnectionInfo objects are the same.
Public operatorStatic member Equality(UIConnectionInfo, Object) Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Determines whether the specified UIConnectionInfo object is the same as the specified Object.
Public operatorStatic member Inequality(Object, UIConnectionInfo) Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Determines whether the specified Object is different than the specified UIConnectionInfo object.
Public operatorStatic member Inequality(UIConnectionInfo, UIConnectionInfo) Infrastructure. Determines whether two UIConnectionInfo objects are different.
Public operatorStatic member Inequality(UIConnectionInfo, Object) Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Determines whether the specified UIConnectionInfo object is different than the specified Object.

Top

Fields

  Name Description
Public fieldStatic member XmlAdvancedOptions Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public fieldStatic member XmlAuthenticationType Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public fieldStatic member XmlDisplayName Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public fieldStatic member XmlItemTypeAttribute Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public fieldStatic member XmlPassword Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public fieldStatic member XmlServerName Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public fieldStatic member XmlServerType Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public fieldStatic member XmlStart Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public fieldStatic member XmlUserName Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Thread Safety

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

See Also

Reference

Microsoft.SqlServer.Management.Smo.RegSvrEnum Namespace