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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.