ServerConnection Constructor (SqlConnectionInfo)

Initializes a new instance of the ServerConnection class with the specified connection information.

命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

语法

声明
Public Sub New ( _
    sci As SqlConnectionInfo _
)
public ServerConnection (
    SqlConnectionInfo sci
)
public:
ServerConnection (
    SqlConnectionInfo^ sci
)
public ServerConnection (
    SqlConnectionInfo sci
)
public function ServerConnection (
    sci : SqlConnectionInfo
)

参数

  • sci
    A SqlConnectionInfo object value that specifies the connection information that is required to establish a connection.

备注

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

ServerConnection Class
ServerConnection Members
Microsoft.SqlServer.Management.Common Namespace

其他资源

Connecting to an Instance of SQL Server