IDtsConnectionManagerUI.New Méthode

Définition

Fournit une notification aux tâches de gestionnaires de connexions créés récemment. Cette méthode est appelée après qu'un nouveau gestionnaire de connexions a été ajouté au package.

public:
 bool New(System::Windows::Forms::IWin32Window ^ parentWindow, Microsoft::SqlServer::Dts::Runtime::Connections ^ connections, Microsoft::SqlServer::Dts::Runtime::Design::ConnectionManagerUIArgs ^ connectionUIArg);
public bool New (System.Windows.Forms.IWin32Window parentWindow, Microsoft.SqlServer.Dts.Runtime.Connections connections, Microsoft.SqlServer.Dts.Runtime.Design.ConnectionManagerUIArgs connectionUIArg);
abstract member New : System.Windows.Forms.IWin32Window * Microsoft.SqlServer.Dts.Runtime.Connections * Microsoft.SqlServer.Dts.Runtime.Design.ConnectionManagerUIArgs -> bool
Public Function New (parentWindow As IWin32Window, connections As Connections, connectionUIArg As ConnectionManagerUIArgs) As Boolean

Paramètres

parentWindow
IWin32Window

Interface IWin32Window du concepteur hébergeant la tâche.

connections
Connections

Collection de connexions à laquelle ajouter la nouvelle connexion ou connexions à afficher dans une liste déroulante ou un autre contrôle dans l'interface utilisateur.

Retours

true si une nouvelle connexion a été créée.

Remarques

Cette méthode est utilisée pour créer des connexions d’un type spécifique dont vous avez besoin.

S’applique à