I am using VS2003 and connecting to MS Access database.
When using a connection pooling (every time I open the OLEDBCONNECTION I use
the exact matching connection string),
1. how can I know how many connection has been used ?
2. If the maximum pool size has been reached, what happens when I call the
method Open to open the connection ? Will I get an error ? MSDN says the
request is queued, but will I get an error in the open method ?
ConnectionDemoO LE = New OleDb.OleDbConn ection
sPath = "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" & sDBPath & ";OLE DB
Services=-1"
With ConnectionDemoO LE
.ConnectionStri ng = sPath
.Open() --what happens here when the maximum pool size has been
reached ?
Thanks
When using a connection pooling (every time I open the OLEDBCONNECTION I use
the exact matching connection string),
1. how can I know how many connection has been used ?
2. If the maximum pool size has been reached, what happens when I call the
method Open to open the connection ? Will I get an error ? MSDN says the
request is queued, but will I get an error in the open method ?
ConnectionDemoO LE = New OleDb.OleDbConn ection
sPath = "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=" & sDBPath & ";OLE DB
Services=-1"
With ConnectionDemoO LE
.ConnectionStri ng = sPath
.Open() --what happens here when the maximum pool size has been
reached ?
Thanks
Comment