MultiServerSqlConnectionInfo 类
Contains SQL Server connection information that is used by Transact-SQL query editors.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
Microsoft.SqlServer.Management.MultiServerConnection..::..MultiServerSqlConnectionInfo
命名空间: Microsoft.SqlServer.Management.MultiServerConnection
程序集: Microsoft.SqlServer.Management.MultiServerConnection(在 Microsoft.SqlServer.Management.MultiServerConnection.dll 中)
语法
声明
Public Class MultiServerSqlConnectionInfo _
Inherits UIConnectionInfo
用法
Dim instance As MultiServerSqlConnectionInfo
public class MultiServerSqlConnectionInfo : UIConnectionInfo
public ref class MultiServerSqlConnectionInfo : public UIConnectionInfo
type MultiServerSqlConnectionInfo =
class
inherit UIConnectionInfo
end
public class MultiServerSqlConnectionInfo extends UIConnectionInfo
MultiServerSqlConnectionInfo 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
MultiServerSqlConnectionInfo() () () () | Initializes a new instance of the MultiServerSqlConnectionInfo class. | |
MultiServerSqlConnectionInfo(UIConnectionInfo) | Initializes a new instance of the MultiServerSqlConnectionInfo class with the specified connection information. |
页首
属性
名称 | 说明 | |
---|---|---|
AdvancedOptions | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets the advanced options set in a connection dialog. (从 UIConnectionInfo 继承。) | |
ApplicationName | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets the name of the application in a connection dialog. (从 UIConnectionInfo 继承。) | |
AuthenticationType | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a Int32 value that specifies whether the connection dialog should use SQL Server Authentication or Windows Authentication. (从 UIConnectionInfo 继承。) | |
ConnectionProtocolString | Specifies the name of the network protocol to use for the connection. | |
ConnectionTimeout | Gets or sets the connection timeout interval to the server, in seconds. | |
DefaultDatabaseName | Gets or sets the name of the database to connect to by default. | |
DisplayName | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a String value that specifies the display name of the connection. (从 UIConnectionInfo 继承。) | |
EncryptConnection | Gets or sets a value specifying whether the connection will be encrypted. | |
EncryptedPassword | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets the encrypted password of the UIConnectionInfo. (从 UIConnectionInfo 继承。) | |
ExecutionTimeout | Gets or sets the execution timeout interval for a Transact-SQL batch, in seconds. | |
Id | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets the connection identifier. (从 UIConnectionInfo 继承。) | |
NetworkProtocol | Specifies the type of network protocol that will be used by the connection. | |
PacketSize | Gets or sets size, in bytes, of the TCP packets used by the connection. | |
Password | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a String value that specifies the login password for the connection when using SQL Server Authentication. (从 UIConnectionInfo 继承。) | |
PersistPassword | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a Boolean value indicating whether the password of the UIConnectionInfo should be persisted. (从 UIConnectionInfo 继承。) | |
ServerName | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a String value that specifies the name of the instance of the Database Engine for the connection. (从 UIConnectionInfo 继承。) | |
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). (从 UIConnectionInfo 继承。) | |
ServerType | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a guid that identifies the type of server the connection uses. (从 UIConnectionInfo 继承。) | |
ServerVersion | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Gets or sets a ServerVersion object that specifies the version of the instance of the Database Engine for the connection. (从 UIConnectionInfo 继承。) | |
UserName | Gets or sets the name of the login to use when connecting. (覆盖 UIConnectionInfo. . :: . .UserName。) | |
UseWindowsAuthentication | Gets or sets a value indicating whether Windows Integrated Security Authentication will be used. | |
WorkstationId | Gets or sets the name of the client machine submitting the Transact-SQL batch. |
页首
方法
名称 | 说明 | |
---|---|---|
CompareTo | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Used to determine the sort order of the current UIConnectionInfo object in relation to another UIConnectionInfo object. (从 UIConnectionInfo 继承。) | |
Copy | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Creates a new UIConnectionInfo object based on the properties of the current object. (从 UIConnectionInfo 继承。) | |
CreateSqlConnection | Creates a connection to the server. | |
Equals | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Determines whether the specified Object is equal to the current Object. (从 UIConnectionInfo 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Returns the hash code for the specified type. (从 UIConnectionInfo 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
SaveToStream | 基础结构。不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Persists connection info to the specified XML stream. (从 UIConnectionInfo 继承。) | |
ToString | (从 Object 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。