Skip to Content
0
Former Member
Oct 22, 2003 at 11:59 AM

Connection Pooling with SAP.NET connector

206 Views

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