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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。