Constructor ConnectionPoolClearingEvent
ConnectionPoolClearingEvent(ServerId, ConnectionPoolSettings)
Initializes a new instance of the ConnectionPoolClearingEvent struct.
public ConnectionPoolClearingEvent(ServerId serverId, ConnectionPoolSettings connectionPoolSettings)
Parameters
serverIdServerIdThe server identifier.
connectionPoolSettingsConnectionPoolSettingsThe connection pool settings.
ConnectionPoolClearingEvent(ServerId, ConnectionPoolSettings, bool)
Initializes a new instance of the ConnectionPoolClearingEvent struct.
public ConnectionPoolClearingEvent(ServerId serverId, ConnectionPoolSettings connectionPoolSettings, bool closeInUseConnections)
Parameters
serverIdServerIdThe server identifier.
connectionPoolSettingsConnectionPoolSettingsThe connection pool settings.
closeInUseConnectionsboolWhether in use connections should be closed.
ConnectionPoolClearingEvent(ServerId, ConnectionPoolSettings, ObjectId?)
Initializes a new instance of the ConnectionPoolClearingEvent struct.
public ConnectionPoolClearingEvent(ServerId serverId, ConnectionPoolSettings connectionPoolSettings, ObjectId? serviceId)
Parameters
serverIdServerIdThe server identifier.
connectionPoolSettingsConnectionPoolSettingsThe connection pool settings.
serviceIdObjectId?The service identifier.
ConnectionPoolClearingEvent(ServerId, ConnectionPoolSettings, ObjectId?, bool)
Initializes a new instance of the ConnectionPoolClearingEvent struct.
public ConnectionPoolClearingEvent(ServerId serverId, ConnectionPoolSettings connectionPoolSettings, ObjectId? serviceId, bool closeInUseConnections)
Parameters
serverIdServerIdThe server identifier.
connectionPoolSettingsConnectionPoolSettingsThe connection pool settings.
serviceIdObjectId?The service identifier.
closeInUseConnectionsboolWhether in use connections should be closed.