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.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
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