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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax void Clear(
ObjectId serviceId
)
Sub Clear (
serviceId As ObjectId
)
abstract Clear :
serviceId : ObjectId -> unit
Parameters
- serviceId
- Type: MongoDB.BsonObjectId
The service id.
See Also