다음을 통해 공유


New 메서드

Adds a new task to a package.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime.Design
어셈블리:  Microsoft.SqlServer.Dts.Design(Microsoft.SqlServer.Dts.Design.dll)

구문

‘선언
Sub New ( _
    parentWindow As IWin32Window _
)
‘사용 방법
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
)

매개 변수

주의

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.