Share via


DataTransaction.RollbackTransaction Method

Rolls back, or voids, a transaction and returns the new current transaction level.

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

Syntax

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

Return Value

Type: System.Int32
Returns and integer value indicating the new current transaction level.

.NET Framework Security

See Also

Reference

DataTransaction Class

Microsoft.VisualStudio.Data Namespace

CurrentTransactionLevel