共用方式為


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