IDtsTaskUI.New Method
Adds a new task to a package.
命名空间: Microsoft.SqlServer.Dts.Runtime.Design
程序集: Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)
语法
声明
Sub New ( _
parentWindow As IWin32Window _
)
void New (
IWin32Window parentWindow
)
void New (
IWin32Window^ parentWindow
)
void New (
IWin32Window parentWindow
)
function New (
parentWindow : IWin32Window
)
参数
- parentWindow
The name of the parent window.
备注
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.
线程安全
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.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
IDtsTaskUI Interface
IDtsTaskUI Members
Microsoft.SqlServer.Dts.Runtime.Design Namespace