UIConnectionInfo 类

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 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.

继承层次结构

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

命名空间:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
程序集:  Microsoft.SqlServer.RegSvrEnum(在 Microsoft.SqlServer.RegSvrEnum.dll 中)

语法

声明
Public Class UIConnectionInfo _
    Implements IComparable(Of UIConnectionInfo)
用法
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>

UIConnectionInfo 类型公开以下成员。

构造函数

  名称 说明
公共方法 UIConnectionInfo() 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Initializes a default UIConnectionInfo object for a SQL Server Management Studio connection dialog.
公共方法 UIConnectionInfo(UIConnectionInfo) 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 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) 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Initializes a new UIConnectionInfo object with the properties of an existing UIConnectionInfo object and makes another connection to the associated server.

页首

属性

  名称 说明
公共属性 AdvancedOptions 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets the advanced options set in a connection dialog.
公共属性 ApplicationName 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets the name of the application in a connection dialog.
公共属性 AuthenticationType 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a Int32 value that specifies whether the connection dialog should use SQL Server Authentication or Windows Authentication.
公共属性 DisplayName 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a String value that specifies the display name of the connection.
公共属性 EncryptedPassword 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets the encrypted password of the UIConnectionInfo.
公共属性 Id 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets the connection identifier.
公共属性 OtherParams 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets the other parameters for the connection.
公共属性 Password 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a String value that specifies the login password for the connection when using SQL Server Authentication.
公共属性 PersistPassword 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a Boolean value indicating whether the password of the UIConnectionInfo should be persisted.
公共属性 ServerName 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a String value that specifies the name of the instance of the Database Engine for the connection.
公共属性 ServerNameNoDot 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 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 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a guid that identifies the type of server the connection uses.
公共属性 ServerVersion 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a ServerVersion object that specifies the version of the instance of the Database Engine for the connection.
公共属性 UserName 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a String value that specifies the login name for the connection.

页首

方法

  名称 说明
公共方法 CompareTo 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Used to determine the sort order of the current UIConnectionInfo object in relation to another UIConnectionInfo object.
公共方法 Copy 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Creates a new UIConnectionInfo object based on the properties of the current object.
公共方法 Equals 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Determines whether the specified Object is equal to the current Object. (覆盖 Object.Equals(Object)。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Returns the hash code for the specified type. (覆盖 Object.GetHashCode()。)
公共方法 GetType (从 Object 继承。)
公共方法静态成员 LoadFromStream 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Loads a connection from the specified stream.
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 SaveToStream 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Persists connection info to the specified XML stream.
公共方法 ToString (从 Object 继承。)

页首

运算符

  名称 说明
公共运算符静态成员 Equality(Object, UIConnectionInfo) 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Determines whether the specified Object is the same as the specified UIConnectionInfo object.
公共运算符静态成员 Equality(UIConnectionInfo, UIConnectionInfo) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Determines whether two specified UIConnectionInfo objects are the same.
公共运算符静态成员 Equality(UIConnectionInfo, Object) 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Determines whether the specified UIConnectionInfo object is the same as the specified Object.
公共运算符静态成员 Inequality(Object, UIConnectionInfo) 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Determines whether the specified Object is different than the specified UIConnectionInfo object.
公共运算符静态成员 Inequality(UIConnectionInfo, UIConnectionInfo) 基础结构。Determines whether two UIConnectionInfo objects are different.
公共运算符静态成员 Inequality(UIConnectionInfo, Object) 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Determines whether the specified UIConnectionInfo object is different than the specified Object.

页首

字段

  名称 说明
公共字段静态成员 XmlAdvancedOptions 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共字段静态成员 XmlAuthenticationType 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共字段静态成员 XmlDisplayName 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共字段静态成员 XmlItemTypeAttribute 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共字段静态成员 XmlPassword 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共字段静态成员 XmlServerName 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共字段静态成员 XmlServerType 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共字段静态成员 XmlStart 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共字段静态成员 XmlUserName 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Smo.RegSvrEnum 命名空间