Click or drag to resize

IConnectionPoolClear Method (ObjectId)

Clears the connection pool for the specified service.

Namespace:  MongoDB.Driver.Core.ConnectionPools
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
void Clear(
	ObjectId serviceId
)

Parameters

serviceId
Type: MongoDB.BsonObjectId
The service id.
See Also