Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Commits a transaction and returns the new current transaction level.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Overridable Function CommitTransaction As Integer
'Usage
Dim instance As DataTransaction
Dim returnValue As Integer
returnValue = instance.CommitTransaction()
public virtual int CommitTransaction()
public:
virtual int CommitTransaction()
public function CommitTransaction() : int
Return Value
Type: System.Int32
An integer value indicating the new current transaction level.
Implements
IVsDataTransaction.CommitTransaction()
Remarks
Any exception that occurs indicates that a provider-specific exception occurred while committing the transaction.
Notes to Inheritors:
The base implementation of this method simply returns the original transaction level. The derived class should override this method.
.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.