No, you need to explicitly close the connection.
-----Original Message-----
From: Discussion of building .NET applications targeted for
the Web
[mailto OTNET-WE
B DISCUSS.DEVELOP.COM] On Behalf Of Ainsley, Robert,
ISD
Sent: Tuesday, April 11, 2006 09:55
To: DOTNET-WEB DISCUSS.DEVELOP.COM
Subject: [DOTNET-WEB] SqlTransaction.Commit
I'm trying to track down some SQL connections that aren't
getting closed in
an application.
If I execute a SqlTransaction.Commit, is the connection
associated with that
transaction closed?
I suspect it does because once you commit the transaction,
there is no
longer a connection associated with the transaction.
Thanks,
Bob
************************************************************
****************
*
If you are not the intended recipient of this e-mail, please
notify the
sender immediately. The contents of this e-mail do not amend
any existing
disclosures or agreements unless expressly stated.
************************************************************
****************
*
===================================
This list is hosted by DevelopMentor. http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
===================================
This list is hosted by DevelopMentorŪ http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|