IDtsConnectionManagerUI.New Method
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 (in microsoft.sqlserver.dts.design.dll)
Syntaxe
'Déclaration
Function New ( _
parentWindow As IWin32Window, _
connections As Connections, _
connectionUIArg As ConnectionManagerUIArgs _
) As Boolean
bool New (
IWin32Window parentWindow,
Connections connections,
ConnectionManagerUIArgs connectionUIArg
)
bool New (
IWin32Window^ parentWindow,
Connections^ connections,
ConnectionManagerUIArgs^ connectionUIArg
)
boolean New (
IWin32Window parentWindow,
Connections connections,
ConnectionManagerUIArgs connectionUIArg
)
function New (
parentWindow : IWin32Window,
connections : Connections,
connectionUIArg : ConnectionManagerUIArgs
) : boolean
Paramètres
- parentWindow
The IWin32Window interface of the designer hosting the task.
- connections
The connections collection to add the new connection to, or the connections to show in a drop-down or other control in the user interface.
- connectionUIArg
A class that implements the ConnectionManagerUIArgs, such as the FileConnectionManagerUIArgs or MultiFileConnectionManagerUIArgs.
Valeur de retour
true if a new connection was created.
Notes
This method is used for creating connections of a specific type that you need.
Sécurité des threads
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.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
IDtsConnectionManagerUI Interface
IDtsConnectionManagerUI Members
Microsoft.SqlServer.Dts.Runtime.Design Namespace