EndAcquireMultipleConnections Method (DTS)

The EndAcquireMultipleConnections method releases ownership of the Connections collection’s synchronization object.

Applies To
Connections Collection  

Syntax

Connections.EndAcquireMultipleConnections()

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

Remarks

If a task needs to acquire more than one connection:

  1. Call BeginAcquireMultipleConnections.
  2. Call Connection.InUse.
  3. Call AcquireConnection for each connection.
  4. Call EndAcquireMultipleConnections.

This can help avoid a deadlock.

Prototype (C/C++)

HRESULT EndAcquireMultipleConnections();

  


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