MultiServerSqlConnectionInfo.CreateSqlConnection メソッド
サーバーへの接続を作成します。
名前空間: Microsoft.SqlServer.Management.MultiServerConnection
アセンブリ: Microsoft.SqlServer.Management.MultiServerConnection (Microsoft.SqlServer.Management.MultiServerConnection.dll)
構文
'宣言
Public Function CreateSqlConnection As SqlConnection
'使用
Dim instance As MultiServerSqlConnectionInfo
Dim returnValue As SqlConnection
returnValue = instance.CreateSqlConnection()
public SqlConnection CreateSqlConnection()
public:
SqlConnection^ CreateSqlConnection()
member CreateSqlConnection : unit -> SqlConnection
public function CreateSqlConnection() : SqlConnection
戻り値
型: System.Data.SqlClient.SqlConnection
サーバーへの接続を表す SqlConnection。