Partager via


New méthode

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Design
Assembly :  Microsoft.SqlServer.Dts.Design (dans Microsoft.SqlServer.Dts.Design.dll)

Syntaxe

'Déclaration
Function New ( _
    parentWindow As IWin32Window, _
    connections As Connections, _
    connectionUIArg As ConnectionManagerUIArgs _
) As Boolean
'Utilisation
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

Paramètres

Valeur de retour

Type : System. . :: . .Boolean
true if a new connection was created.

Notes

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