BeginAcquireMultipleConnections Method (DTS)

The BeginAcquireMultipleConnections method enables the acquisition of multiple connections.

Applies To
Connections Collection  

Syntax

Connections.BeginAcquireMultipleConnections()

Part Description
Connections Expression that evaluates to an object in the Applies To list

Remarks

The BeginAcquireMultipleConnections method enables the acquisition of connections by acquiring exclusive ownership of the Connections collection’s synchronization object.

Prototype (C/C++)

HRESULT BeginAcquireMultipleConnections();


Note If a task needs to acquire more than one connection, call this method, check the Connection.InUse property, and then use the AcquireConnection method for each connection. Then, call the EndAcquireMultipleConnections method to avoid deadlocks.


  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.