Compartir a través de


IDtsTaskUI.New Method

Adds a new task to a package.

Espacio de nombres: Microsoft.SqlServer.Dts.Runtime.Design
Ensamblado: Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)

Sintaxis

'Declaración
Sub New ( _
    parentWindow As IWin32Window _
)
void New (
    IWin32Window parentWindow
)
void New (
    IWin32Window^ parentWindow
)
void New (
    IWin32Window parentWindow
)
function New (
    parentWindow : IWin32Window
)

Parámetros

  • parentWindow
    The name of the parent window.

Notas

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.

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

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