Partager via


IDtsTaskUI.New Method

Adds a new task to a package.

Espace de noms: Microsoft.SqlServer.Dts.Runtime.Design
Assembly: Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)

Syntaxe

'Déclaration
Sub New ( _
    parentWindow As IWin32Window _
)
void New (
    IWin32Window parentWindow
)
void New (
    IWin32Window^ parentWindow
)
void New (
    IWin32Window parentWindow
)
function New (
    parentWindow : IWin32Window
)

Paramètres

  • parentWindow
    The name of the parent window.

Notes

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.

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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