AcquireConnections 方法
Establishes a connection to a connection manager.
命名空间: Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集: Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
语法
声明
Public Overridable Sub AcquireConnections ( _
pTransaction As Object _
)
用法
Dim instance As CManagedComponentWrapperClass
Dim pTransaction As Object
instance.AcquireConnections(pTransaction)
public virtual void AcquireConnections(
Object pTransaction
)
public:
virtual void AcquireConnections(
[InAttribute] Object^ pTransaction
)
abstract AcquireConnections :
pTransaction:Object -> unit
override AcquireConnections :
pTransaction:Object -> unit
public function AcquireConnections(
pTransaction : Object
)
参数
- pTransaction
类型:System. . :: . .Object
The transaction the connection is participating in.
实现
IDTSDesigntimeComponent100. . :: . .AcquireConnections(Object)
注释
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.