Udostępnij przez


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

'Deklaracja
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.

Platforms

Development Platforms

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

Target Platforms

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