The New method of the CustomTaskUI interface must be supplied by the implementer of a Data Transformation Services (DTS) custom task that has a user interface. It is called by DTS when a new instance of the custom task is to be created.
Sub CustomTaskUI_New(ByVal hwndParent As Long )
Part | Description |
---|---|
hwndParent | Handle to the window to be the parent of the custom task user interface |
The window that is parent to the custom task's user interface window typically would be the DTS Designer design sheet or the Microsoft® Visual Studio® development environment desktop.
The New methods for various collections use different parameters and syntax than the New method of the CustomTaskUI interface.
HRESULT New(
long hwndParent );