共用方式為


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

請參閱

參考

CManagedComponentWrapperClass 類別

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空間