다음을 통해 공유


New 메서드

Provides notification to tasks of newly created connection managers. This method is called after a new connection manager is added to the package.

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

구문

‘선언
Function New ( _
    parentWindow As IWin32Window, _
    connections As Connections, _
    connectionUIArg As ConnectionManagerUIArgs _
) As Boolean
‘사용 방법
Dim instance As IDtsConnectionManagerUI
Dim parentWindow As IWin32Window
Dim connections As Connections
Dim connectionUIArg As ConnectionManagerUIArgs
Dim returnValue As Boolean

returnValue = instance.New(parentWindow, _
    connections, connectionUIArg)
bool New(
    IWin32Window parentWindow,
    Connections connections,
    ConnectionManagerUIArgs connectionUIArg
)
bool New(
    IWin32Window^ parentWindow, 
    Connections^ connections, 
    ConnectionManagerUIArgs^ connectionUIArg
)
abstract New : 
        parentWindow:IWin32Window * 
        connections:Connections * 
        connectionUIArg:ConnectionManagerUIArgs -> bool 
function New(
    parentWindow : IWin32Window, 
    connections : Connections, 
    connectionUIArg : ConnectionManagerUIArgs
) : boolean

매개 변수

반환 값

유형: System. . :: . .Boolean
true if a new connection was created.

주의

This method is used for creating connections of a specific type that you need.