Hi,
I'm using the connectionpool class of the SAP.NET connector...
e.g.
where BPartnerProxy is the proxy object.
BPartnerProxy.Connection = SAP.Connector.SAPConnectionPool.GetConnection(ConfigurationSettings.AppSettings("SAPConnectionString"))
and then the code to return the connection after the RFC call is made:
SAP.Connector.SAPConnectionPool.ReturnConnection(BPartnerProxy.Connection)
How do you manage the pool i.e. create a pool of x number of connections or see how many connections are left in the pool...?
Regards
Nick Wright
Hello Nick,
the connection pool is configured using the app.config / web.config file of you application.
Here's an example:
Statistic about the connection pool is currently not available. This feature will be added in next version.
Reiner.
Add a comment