DataTransaction.CommitTransaction Method
Commits 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 CommitTransaction As Integer
public virtual int CommitTransaction()
public:
virtual int CommitTransaction()
abstract CommitTransaction : unit -> int
override CommitTransaction : unit -> int
public function CommitTransaction() : int
Return Value
Type: System.Int32
Returns an integer value indicating the new current transaction level.
Remarks
Any exception that occurs indicates that a provider-specific exception occurred while committing the transaction.
.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.