Method AcquireConnection
- Namespace
- MongoDB.Driver.Core.ConnectionPools
- Assembly
- MongoDB.Driver.Core.dll
AcquireConnection(CancellationToken)
Acquires a connection.
IConnectionHandle AcquireConnection(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationTokenThe cancellation token.
Returns
- IConnectionHandle
A connection.