Condividi tramite


IDtsTaskUI.New Method

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 _
)
void New (
    IWin32Window parentWindow
)
void New (
    IWin32Window^ parentWindow
)
void New (
    IWin32Window parentWindow
)
function New (
    parentWindow : IWin32Window
)

Parametri

  • parentWindow
    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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

IDtsTaskUI Interface
IDtsTaskUI Members
Microsoft.SqlServer.Dts.Runtime.Design Namespace