Which ADO.NET class is responsible for managing the connection pool?

  • SqlCommand
  • SqlConnection
  • SqlConnectionStringBuilder
  • SqlDataAdapter
The SqlConnection class in ADO.NET is responsible for managing the connection pool. It provides methods for opening, closing, and managing connections to a SQL Server database. When connection pooling is enabled, SqlConnection automatically manages the pooling of database connections, optimizing the performance of database interactions in .NET applications.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *