Suppose that i have an application that connects to a sql server, and this application connects to this server on the start of the application and close this connection on the exit of the application,i would like to know if any one can use this connection to connect to sql server
Share
A single database connection will be restricted to the process that owns it. External applications will only have access to this connection via whatever API your application exposes.
However, inside that application, “connection pooling” means that different
SqlConnectioninstances may all resolve to the same underlying unmanaged connection, as long as they don’t overlap. More likely, repeatedSqlConnectionusage (differentSqlConnectioninstances) will result in a low number of underlying connections.