The EndAcquireMultipleConnections method releases ownership of the Connections collection’s synchronization object.
Connections Collection |
Connections.EndAcquireMultipleConnections()
Part | Description |
---|---|
Connections | Expression that evaluates to an object in the Applies To list |
If a task needs to acquire more than one connection:
This can help avoid a deadlock.
HRESULT EndAcquireMultipleConnections();