Share via


IDtsConnectionManagerUI.New Method

Definition

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.

Returns

true if a new connection was created.

Remarks

This method is used for creating connections of a specific type that you need.

Applies to