Partilhar via


Método BusinessLogicConnection.BeginTransaction

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Starts a database transaction.

Namespace:  Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly:  Microsoft.SqlServer.Replication.BusinessLogicSupport (em Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

Sintaxe

'Declaração
Public Function BeginTransaction As IDbTransaction
'Uso
Dim instance As BusinessLogicConnection 
Dim returnValue As IDbTransaction 

returnValue = instance.BeginTransaction()
public IDbTransaction BeginTransaction()
public:
virtual IDbTransaction^ BeginTransaction() sealed
abstract BeginTransaction : unit -> IDbTransaction  
override BeginTransaction : unit -> IDbTransaction
public final function BeginTransaction() : IDbTransaction

Valor de retorno

Tipo: System.Data.IDbTransaction
An object representing the new transaction.

Implementa

IDbConnection.BeginTransaction()

Consulte também

Referência

BusinessLogicConnection Classe

Sobrecarregado BeginTransaction

Namespace Microsoft.SqlServer.Replication.BusinessLogicSupport