IDtsConnectionManagerUI.New メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
新たに作成された接続マネージャーのタスクに通知を提供します。 このメソッドは、新しい接続マネージャーがパッケージに追加された後に呼び出されます。
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
FileConnectionManagerUIArgsやMultiFileConnectionManagerUIArgsのような、ConnectionManagerUIArgsを実装するクラスです。
返品
新しい接続ができた場合は真実です。
注釈
この方法は、必要な特定の種類の接続を作成するために使われます。