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
一個實作 的 ConnectionManagerUIArgs類別,例如 FileConnectionManagerUIArgs 或 MultiFileConnectionManagerUIArgs。
傳回
如果新連結被創造,那是真的。
備註
此方法用於建立特定類型的連結。