Share via


IVsDataTransaction Interface

Represents the interface that exposes methods and properties for transaction processing, which allows you to commit or roll back a series of related operations as a batch.

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

Syntax

'Declaration
<DataClientObjectAttribute("17A9A28C-30F9-4e80-897F-5F16B13C7391")> _
Public Interface IVsDataTransaction
[DataClientObjectAttribute("17A9A28C-30F9-4e80-897F-5F16B13C7391")]
public interface IVsDataTransaction
[DataClientObjectAttribute(L"17A9A28C-30F9-4e80-897F-5F16B13C7391")]
public interface class IVsDataTransaction
[<DataClientObjectAttribute("17A9A28C-30F9-4e80-897F-5F16B13C7391")>]
type IVsDataTransaction =  interface end
public interface IVsDataTransaction

The IVsDataTransaction type exposes the following members.

Properties

  Name Description
Public property CurrentTransactionLevel When implemented by a class, gets a numeric value indicating the current transaction level.

Top

Methods

  Name Description
Public method BeginTransaction When implemented by a class, initiates a transaction and returns the new transaction level.
Public method CommitTransaction When implemented by a class, commits a transaction and returns the new transaction level.
Public method RollbackTransaction When implemented by a class, rolls back, or voids, a transaction and returns the new transaction level.

Top

Remarks

This interface has a base implementation in the DDEX Framework.

See Also

Reference

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace