IDtsConnectionManagerUI.New Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides notification to tasks of newly created connection managers. This method is called after a new connection manager is added to the package.
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
Parameters
- parentWindow
- IWin32Window
The IWin32Window interface of the designer hosting the task.
- connections
- Connections
The connections collection to add the new connection to, or the connections to show in a drop-down or other control in the user interface.
- connectionUIArg
- ConnectionManagerUIArgs
A class that implements the ConnectionManagerUIArgs, such as the FileConnectionManagerUIArgs or MultiFileConnectionManagerUIArgs.
Returns
true if a new connection was created.
Remarks
This method is used for creating connections of a specific type that you need.