UIConnectionInfo Class

Definition

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.

public ref class UIConnectionInfo : IComparable<Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^>
public class UIConnectionInfo : IComparable<Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo>
type UIConnectionInfo = class
    interface IComparable<UIConnectionInfo>
Public Class UIConnectionInfo
Implements IComparable(Of UIConnectionInfo)
Inheritance
UIConnectionInfo
Derived
Implements

Constructors

UIConnectionInfo()

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.

UIConnectionInfo(UIConnectionInfo, Boolean)

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.

UIConnectionInfo(UIConnectionInfo)

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.

Fields

XmlAdvancedOptions

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

XmlAuthenticationType

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

XmlDisplayName

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

XmlItemTypeAttribute

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

XmlPassword

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

XmlServerName

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

XmlServerType

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

XmlStart

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

XmlUserName

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Properties

AdvancedOptions

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets the advanced options set in a connection dialog.

ApplicationName

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.

AuthenticationType

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.

DisplayName

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.

EncryptedPassword

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets the encrypted password of the UIConnectionInfo.

Id

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets the connection identifier.

OtherParams

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets the other parameters for the connection.

Password

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.

PersistPassword

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.

ServerName

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.

ServerNameNoDot

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).

ServerType

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.

ServerVersion

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.

UserName

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.

Methods

CompareTo(UIConnectionInfo)

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.

Copy()

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.

Equals(Object)

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.

GetHashCode()

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Returns the hash code for the specified type.

LoadFromStream(XmlReader)

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Loads a connection from the specified stream.

SaveToStream(XmlWriter, Boolean)

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Persists connection info to the specified XML stream.

Operators

Equality(Object, UIConnectionInfo)

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.

Equality(UIConnectionInfo, Object)

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.

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.

Inequality(Object, UIConnectionInfo)

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.

Inequality(UIConnectionInfo, Object)

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.

Inequality(UIConnectionInfo, UIConnectionInfo)

Determines whether two UIConnectionInfo objects are different.

Applies to