Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Gets or sets an IDbTransaction object that contains the transaction within which changes to tables were attempted.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public ReadOnly Property Transaction As IDbTransaction
Get
'Usage
Dim instance As ApplyChangeFailedEventArgs
Dim value As IDbTransaction
value = instance.Transaction
public IDbTransaction Transaction { get; }
public:
property IDbTransaction^ Transaction {
IDbTransaction^ get ();
}
member Transaction : IDbTransaction
function get Transaction () : IDbTransaction
Property Value
Type: System.Data.IDbTransaction
An IDbTransaction object that contains the transaction within which changes to tables were attempted.
Remarks
Use the transaction exposed by this property and the connection exposed by the Connection property to access a database over the same connection and within the same transaction that Sync Framework uses.
Examples
For an example of how to access a database over the same connection and within the same transaction that Sync Framework uses, see How to: Work with Events and Program Business Logic.