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

加入新連接的連接集合,或是要顯示在使用者介面的下拉式清單或其他控制項內的連接。

傳回

Boolean

如果已建立新的連接,則為 true。

備註

這個方法是用來建立您所需之特定類型的連接。

適用於