語言

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

新增連線的集合,或在下拉選單或其他控制項中顯示的連接。

傳回

如果新連結被創造,那是真的。

備註

此方法用於建立特定類型的連結。

適用於