Метод IDtsTaskUI.New
Adds a new task to a package.
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Design
Сборка: Microsoft.SqlServer.Dts.Design (в Microsoft.SqlServer.Dts.Design.dll)
Синтаксис
'Декларация
Sub New ( _
parentWindow As IWin32Window _
)
'Применение
Dim instance As IDtsTaskUI
Dim parentWindow As IWin32Window
instance.New(parentWindow)
void New(
IWin32Window parentWindow
)
void New(
IWin32Window^ parentWindow
)
abstract New :
parentWindow:IWin32Window -> unit
function New(
parentWindow : IWin32Window
)
Параметры
- parentWindow
Тип: System.Windows.Forms.IWin32Window
The name of the parent window.
Замечания
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.