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.MultiServerConnection. . :: . .MultiServerSqlConnectionInfo
命名空间: 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. |
![]() |
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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。