Méthode IDTSDesigntimeComponent100.AcquireConnections

Establishes a connection to a connection manager.

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly :  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntaxe

'Déclaration
Sub AcquireConnections ( _
    pTransaction As Object _
)
'Utilisation
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
)

Paramètres

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

Notes

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.

Voir aussi

Référence

IDTSDesigntimeComponent100 Interface

Espace de noms Microsoft.SqlServer.Dts.Pipeline.Wrapper