IDbConnection.BeginTransaction Method (IsolationLevel)
This page is specific to:.NET Framework Version:1.1
.NET Framework Class Library
IDbConnection.BeginTransaction Method (IsolationLevel)

Begins a database transaction with the specified IsolationLevel value.

[Visual Basic]
Function BeginTransaction( _
   ByVal il As IsolationLevel _
) As IDbTransaction
[C#]
IDbTransaction BeginTransaction(
   IsolationLevel il
);
[C++]
IDbTransaction* BeginTransaction(
   IsolationLevel il
);
[JScript]
function BeginTransaction(
   il : IsolationLevel
) : IDbTransaction;

Parameters

il
One of the IsolationLevel values.

Return Value

An object representing the new transaction.

Remarks

Once the transaction has completed, you must explicitly commit or roll back the transaction using the Commit or Rollback methods.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IDbConnection Interface | IDbConnection Members | System.Data Namespace | IDbConnection.BeginTransaction Overload List

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View