言語

IDtsConnectionManagerUI.New メソッド

定義

新たに作成された接続マネージャーのタスクに通知を提供します。 このメソッドは、新しい接続マネージャーがパッケージに追加された後に呼び出されます。

public:
 bool New(System::Windows::Forms::IWin32Window ^ parentWindow, Microsoft::SqlServer::Dts::Runtime::Connections ^ connections, Microsoft::SqlServer::Dts::Runtime::Design::ConnectionManagerUIArgs ^ connectionUIArg);
public bool New(System.Windows.Forms.IWin32Window parentWindow, Microsoft.SqlServer.Dts.Runtime.Connections connections, Microsoft.SqlServer.Dts.Runtime.Design.ConnectionManagerUIArgs connectionUIArg);
abstract member New : System.Windows.Forms.IWin32Window * Microsoft.SqlServer.Dts.Runtime.Connections * Microsoft.SqlServer.Dts.Runtime.Design.ConnectionManagerUIArgs -> bool
Public Function New (parentWindow As IWin32Window, connections As Connections, connectionUIArg As ConnectionManagerUIArgs) As Boolean

パラメーター

parentWindow
IWin32Window

タスクをホストするデザイナーのIWin32Windowインターフェース。

connections
Connections

新しい接続を追加するための接続コレクション、またはユーザーインターフェースのドロップダウンやその他のコントロールで表示する接続。

connectionUIArg
ConnectionManagerUIArgs

FileConnectionManagerUIArgsMultiFileConnectionManagerUIArgsのような、ConnectionManagerUIArgsを実装するクラスです。

返品

新しい接続ができた場合は真実です。

注釈

この方法は、必要な特定の種類の接続を作成するために使われます。

適用対象