how long must a sql server connection be idle before it is closed by the connection pool?

前端 未结 2 791
野性不改
野性不改 2021-01-02 01:45

I have a client-server app that uses .NET SqlClient Data Provider to connect to sql server - pretty standard stuff. By default how long must connections be idle before the c

2条回答
  •  无人及你
    2021-01-02 02:28

    Please go through this:

    http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.connectionstring%28VS.80%29.aspx

    The part

    "The following table lists the valid names for connection pooling values within the ConnectionString."

    seems to be of your interest.

提交回复
热议问题