Поделиться через


Метод BeginTransaction

Begins a database transaction.

Пространство имен:  Microsoft.ReportingServices.DataProcessing
Сборка:  Microsoft.ReportingServices.Interfaces (в Microsoft.ReportingServices.Interfaces.dll)

Синтаксис

'Декларация
Function BeginTransaction As IDbTransaction
'Применение
Dim instance As IDbConnection
Dim returnValue As IDbTransaction

returnValue = instance.BeginTransaction()
IDbTransaction BeginTransaction()
IDbTransaction^ BeginTransaction()
abstract BeginTransaction : unit -> IDbTransaction 
function BeginTransaction() : IDbTransaction

Возвращаемое значение

Тип Microsoft.ReportingServices.DataProcessing. . :: . .IDbTransaction
An object representing the new transaction.

Замечания

Once the transaction has completed, you must explicitly commit or roll back the transaction by using the Commit or Rollback methods.