SqlConnectionInfo Constructor (ServerConnection, ConnectionType)
Initializes a new instance of the SqlConnectionInfo class.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)
Syntax
'Deklaracja
Public Sub New ( _
serverConnection As ServerConnection, _
connectionType As ConnectionType _
)
public SqlConnectionInfo (
ServerConnection serverConnection,
ConnectionType connectionType
)
public:
SqlConnectionInfo (
ServerConnection^ serverConnection,
ConnectionType connectionType
)
public SqlConnectionInfo (
ServerConnection serverConnection,
ConnectionType connectionType
)
public function SqlConnectionInfo (
serverConnection : ServerConnection,
connectionType : ConnectionType
)
Parameters
- serverConnection
A ServerConnection object value that specifies an existing connection on which to base the new SqlConnectionInfo object.
- connectionType
A ConnectionType object value that specifies the type of 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.