多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You are developing an application that connects to a Microsoft SQL Server database using the SqlConnection object. Your connection objects are being pooled. As the pool fills up, connection requests are queued. Some connection requests are rejected. You need to ensure that the application releases connections back to the pool as soon as possible. Also, you need to decrease the likelihood that connection requests will be rejected. Which three actions should you perform?()

  • A、Ensure that the Close method is called on each connection object after it has finished executing.
  • B、Ensure that each connection object is left open after it has finished executing.
  • C、Increase the Max Pool Size value inside the connection string.
  • D、Increase the Min Pool Size value inside the connection string.
  • E、Increase the Connection Lifetime value inside the connection string.
  • F、Increase the value of the ConnectionTimeout property of the SqlConnection object.
正确答案:A,C,F
答案解析:
进入题库查看解析

微信扫一扫手机做题