Método New
Adds a new task to a package.
Namespace: Microsoft.SqlServer.Dts.Runtime.Design
Assembly: Microsoft.SqlServer.Dts.Design (em Microsoft.SqlServer.Dts.Design.dll)
Sintaxe
'Declaração
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.
Comentários
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.
Consulte também