New Método
Adds a new task to a package.
Espacio de nombres: Microsoft.SqlServer.Dts.Runtime.Design
Ensamblado: Microsoft.SqlServer.Dts.Design (en Microsoft.SqlServer.Dts.Design.dll)
Sintaxis
'Declaración
Sub New ( _
parentWindow As IWin32Window _
)
'Uso
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
)
Parámetros
- parentWindow
Tipo: System.Windows.Forms. . :: . .IWin32Window
The name of the parent window.
Comentarios
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.
Vea también