IDtsConnectionService.AddConnectionToPackage Method
Adds existing connections to a package designer so that the designer is aware of a new connection manager
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Design
Сборка: Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)
Синтаксис
'Декларация
Function AddConnectionToPackage ( _
connectionManager As ConnectionManager _
) As Boolean
bool AddConnectionToPackage (
ConnectionManager connectionManager
)
bool AddConnectionToPackage (
ConnectionManager^ connectionManager
)
boolean AddConnectionToPackage (
ConnectionManager connectionManager
)
function AddConnectionToPackage (
connectionManager : ConnectionManager
) : boolean
Параметры
- connectionManager
The connect manager to register in the package designer.
Возвращаемое значение
true if the connection is not null, false otherwise.
Замечания
This function needs to be called only if a connection manager was added directly to the package without going through the CreateConnection method.
Синхронизация потоков
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.
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
IDtsConnectionService Interface
IDtsConnectionService Members
Microsoft.SqlServer.Dts.Runtime.Design Namespace