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
Microsoft.SqlServer.Management.MultiServerConnection.MultiServerSqlConnectionInfo
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 | |
---|---|---|
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. | |
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. | |
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 | |
---|---|---|
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. | |
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. | |
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. | |
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. | |
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. | |
Id | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets the connection identifier. | |
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. | |
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. | |
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. | |
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). | |
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. | |
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. | |
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 | |
---|---|---|
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. | |
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. | |
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).) | |
Finalize | (Inherited from Object.) | |
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().) | |
GetType | (Inherited from Object.) | |
LoadFromStream | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. Loads a connection from the specified stream. | |
MemberwiseClone | (Inherited from Object.) | |
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. | |
ToString | (Inherited from Object.) |
Top
Operators
Name | Description | |
---|---|---|
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. | |
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. | |
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. | |
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. | |
Inequality(UIConnectionInfo, UIConnectionInfo) | Infrastructure. Determines whether two UIConnectionInfo objects are different. | |
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 | |
---|---|---|
XmlAdvancedOptions | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
XmlAuthenticationType | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
XmlDisplayName | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
XmlItemTypeAttribute | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
XmlPassword | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
XmlServerName | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
XmlServerType | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
XmlStart | Infrastructure. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
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.