Condividi tramite


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

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.

Vedere anche

Riferimento

IDtsTaskUI Interfaccia

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Design