List Info

Thread: SqlTransaction.Commit




SqlTransaction.Commit
user name
2006-04-11 15:00:31
No, you need to explicitly close the connection.


-----Original Message-----
From: Discussion of building .NET applications targeted for
the Web
[mailtoOTNET-WE
BDISCUSS.DEVELOP.COM] On Behalf Of Ainsley, Robert,
ISD
Sent: Tuesday, April 11, 2006 09:55
To: DOTNET-WEBDISCUSS.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

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )