Freigeben über


IDTSDesigntimeComponent100.AcquireConnections-Methode

Establishes a connection to a connection manager.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntax

'Declaration
Sub AcquireConnections ( _
    pTransaction As Object _
)
'Usage
Dim instance As IDTSDesigntimeComponent100 
Dim pTransaction As Object

instance.AcquireConnections(pTransaction)
void AcquireConnections(
    Object pTransaction
)
void AcquireConnections(
    [InAttribute] Object^ pTransaction
)
abstract AcquireConnections : 
        pTransaction:Object -> unit
function AcquireConnections(
    pTransaction : Object
)

Parameter

  • pTransaction
    Typ: System.Object
    The transaction associated with the connection.

Hinweise

The AcquireConnections is called during both component design and execution. Components that connect to external data sources should establish their connections by using this method. Any connection established during this method should be cached in a local member variable, and released during the ReleaseConnections method.

Siehe auch

Verweis

IDTSDesigntimeComponent100 Schnittstelle

Microsoft.SqlServer.Dts.Pipeline.Wrapper-Namespace