Metodo IDtsTaskUI.New
Adds a new task to a package.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Design
Assembly: Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)
Sintassi
'Dichiarazione
Sub New ( _
parentWindow As IWin32Window _
)
'Utilizzo
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
)
Parametri
- parentWindow
Tipo: System.Windows.Forms.IWin32Window
The name of the parent window.
Osservazioni
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.