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.

页首