共用方式為


ServerConnection 建構函式

包含保護的成員
包含繼承的成員

Initializes a new instance of the ServerConnection class.

此成員已超載。如需此成員完整的詳細資訊 (包括語法、使用狀況及範例),按一下多載清單中的名稱。

多載 清單

  名稱 說明
公用方法 ServerConnection() Initializes a new instance of the ServerConnection class.
公用方法 ServerConnection(SqlConnection) Initializes a new instance of the ServerConnection class with the specified connection parameters.
公用方法 ServerConnection(String) Initializes a new instance of the ServerConnection class with the specified server instance.
公用方法 ServerConnection(SqlConnectionInfo) Initializes a new instance of the ServerConnection class with the specified connection information.
公用方法 ServerConnection(String, String, SecureString) Initializes a new instance of the ServerConnection class with the specified server instance and logon credentials.
公用方法 ServerConnection(String, String, String) Initializes a new instance of the ServerConnection class with the specified server instance and logon credentials.

上層

請參閱

參考

ServerConnection 類別

Microsoft.SqlServer.Management.Common 命名空間