ServerConnection Constructor (SqlConnectionInfo)

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

Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

Syntax

'Declaration
Public Sub New ( _
    sci As SqlConnectionInfo _
)
public ServerConnection (
    SqlConnectionInfo sci
)
public:
ServerConnection (
    SqlConnectionInfo^ sci
)
public ServerConnection (
    SqlConnectionInfo sci
)
public function ServerConnection (
    sci : SqlConnectionInfo
)

Parameters

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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

Other Resources

Connecting to an Instance of SQL Server