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.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
void Clear(
	ObjectId serviceId
)

Parameters

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