La méthode SqlConnection.Close de System.Data.SqlClient.SqlConnection ferme la connexion avec la base de données associée. Lorsque cette méthode est appelée, la connexion est libérée et peut être utilisée pour d'autres connexions. Si la connexion est déjà fermée ou ne sera plus utilisée, il est recommandé de l'appeler pour libérer les ressources et améliorer les performances de l'application.
C# (CSharp) System.Data.SqlClient SqlConnection.Close - 60 exemples trouvés. Ce sont les exemples réels les mieux notés de System.Data.SqlClient.SqlConnection.Close extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.