Export (0) Print
Expand All

IDtsConnectionManagerUI.New Method

Provides notification to tasks of newly created connection managers. This method is called after a new connection manager is added to the package.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Design
Assembly:  Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)

bool New(
	IWin32Window parentWindow,
	Connections connections,
	ConnectionManagerUIArgs connectionUIArg
)

Parameters

parentWindow
Type: IWin32Window
The IWin32Window interface of the designer hosting the task.
connections
Type: Microsoft.SqlServer.Dts.Runtime.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
Type: Microsoft.SqlServer.Dts.Runtime.Design.ConnectionManagerUIArgs
A class that implements the ConnectionManagerUIArgs, such as the FileConnectionManagerUIArgs or MultiFileConnectionManagerUIArgs.

Return Value

Type: Boolean
true if a new connection was created.

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

Community Additions

ADD
Show:
© 2015 Microsoft