IDtsTaskUI.New(IWin32Window) 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.
Adds a new task to a package.
public:
void New(System::Windows::Forms::IWin32Window ^ parentWindow);
public void New (System.Windows.Forms.IWin32Window parentWindow);
abstract member New : System.Windows.Forms.IWin32Window -> unit
Public Sub New (parentWindow As IWin32Window)
Parameters
- parentWindow
- IWin32Window
The name of the parent window.
Remarks
A paste operation calls this New method after pasting a new task in the designer. You can check the IsPasteActive to see if this task was created by a copy/paste or cut/paste operation. If so, a new name may be required on the task so tasks do not have duplicate names.