CManagedComponentWrapperClass.AcquireConnections Method
Establishes a connection to a connection manager.
命名空间: Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)
语法
声明
<DispIdAttribute(30)> _
Public Overridable Sub AcquireConnections ( _
<InAttribute> pTransaction As Object _
) Implements IDTSDesigntimeComponent90.AcquireConnections
[DispIdAttribute(30)]
public virtual void IDTSDesigntimeComponent90.AcquireConnections (
[InAttribute] Object pTransaction
)
[DispIdAttribute(30)]
public:
virtual void AcquireConnections (
[InAttribute] Object^ pTransaction
) = IDTSDesigntimeComponent90::AcquireConnections
J# 支持显式接口实现的使用,但不支持新接口实现的声明。
JScript 支持显式接口实现的使用,但不支持新接口实现的声明。
参数
- pTransaction
The transaction the connection is participating in.
备注
Data flow components establish connections to external data sources by using the AcquireConnections method. This method should be called before calling the Validate or ReinitializeMetaData methods to enable the component to verify the metadata contained in its column collections and to correct any errors that are found.
线程安全
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 的硬件和软件要求。
请参阅
参考
CManagedComponentWrapperClass Class
CManagedComponentWrapperClass Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace