ServerConnection Constructor (SqlConnection)
Initializes a new instance of the ServerConnection class with the specified connection parameters.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)
Syntax
'Deklaracja
Public Sub New ( _
sqlConnection As SqlConnection _
)
public ServerConnection (
SqlConnection sqlConnection
)
public:
ServerConnection (
SqlConnection^ sqlConnection
)
public ServerConnection (
SqlConnection sqlConnection
)
public function ServerConnection (
sqlConnection : SqlConnection
)
Parameters
- sqlConnection
A SqlConnection system object that specifies connection parameters associated with the referenced 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.