Delen via


AdoDotNetConnectionSupport.BeginTransaction Method

Initiates a transaction and returns the new current transaction level.

Namespace:  Microsoft.VisualStudio.Data.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public Overridable Function BeginTransaction As Integer
public virtual int BeginTransaction()
public:
virtual int BeginTransaction()
abstract BeginTransaction : unit -> int  
override BeginTransaction : unit -> int
public function BeginTransaction() : int

Return Value

Type: System.Int32
Returns an integer value representing the new current transaction level.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionSupport Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace

CurrentTransactionLevel