Langage

IDtsConnectionManagerUI.New Méthode

Définition

Fournit une notification aux tâches des nouveaux gestionnaires de connexions. Cette méthode est appelée après qu’un nouveau gestionnaire de connexion 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

L’interface IWin32Window du concepteur hébergeant la tâche.

connections
Connections

La collection de connexions pour ajouter la nouvelle connexion, ou les connexions à afficher dans un menu déroulant ou un autre contrôle de l’interface utilisateur.

Retours

vrai si une nouvelle connexion était 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 à