ServerConnection Constructor (SqlConnection)

指定された接続パラメータを使用して、ServerConnection クラスの新しいインスタンスを初期化します。

名前空間: Microsoft.SqlServer.Management.Common
アセンブリ: Microsoft.SqlServer.ConnectionInfo (microsoft.sqlserver.connectioninfo.dll 内)

構文

'宣言
Public Sub New ( _
    sqlConnection As SqlConnection _
)
public ServerConnection (
    SqlConnection sqlConnection
)
public:
ServerConnection (
    SqlConnection^ sqlConnection
)
public ServerConnection (
    SqlConnection sqlConnection
)
public function ServerConnection (
    sqlConnection : SqlConnection
)

パラメータ

  • sqlConnection
    参照された接続に関連付けられた接続パラメータを示す SqlConnection システム オブジェクトです。

解説

この名前空間、クラス、またはメンバは、Microsoft .NET Framework Version 2.0 でのみサポートされています。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

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

その他の技術情報

SQL Server のインスタンスへの接続