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.

命名空间: Microsoft.SqlServer.Dts.Runtime.Design
程序集: Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)

语法

声明
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

参数

  • 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.

返回值

true if a new connection was created.

备注

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

线程安全

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

IDtsConnectionManagerUI Interface
IDtsConnectionManagerUI Members
Microsoft.SqlServer.Dts.Runtime.Design Namespace