IDtsConnectionManagerUI.New Método
Provides notification to tasks of newly created connection managers. This method is called after a new connection manager is added to the package.
Espacio de nombres: Microsoft.SqlServer.Dts.Runtime.Design
Ensamblado: Microsoft.SqlServer.Dts.Design (en Microsoft.SqlServer.Dts.Design.dll)
Sintaxis
'Declaración
Function New ( _
parentWindow As IWin32Window, _
connections As Connections, _
connectionUIArg As ConnectionManagerUIArgs _
) As Boolean
'Uso
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
Parámetros
- parentWindow
Tipo: System.Windows.Forms.IWin32Window
The IWin32Window interface of the designer hosting the task.
- connections
Tipo: Microsoft.SqlServer.Dts.Runtime.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
Tipo: Microsoft.SqlServer.Dts.Runtime.Design.ConnectionManagerUIArgs
A class that implements the ConnectionManagerUIArgs, such as the FileConnectionManagerUIArgs or MultiFileConnectionManagerUIArgs.
Valor devuelto
Tipo: System.Boolean
true if a new connection was created.
Comentarios
This method is used for creating connections of a specific type that you need.