The ReleaseConnection method releases ownership of the connection and makes it available to other tasks. The InUse property is set to False.
Connection Object |
Connection.ReleaseConnection()
Part | Description |
---|---|
connection | Expression that evaluates to an object in the Applies To list |
Rowsets are always released at the Task object level.
All tasks must include calls to AcquireConnection and ReleaseConnection.
HRESULT ReleaseConnection();