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.
Gets or sets an IDbTransaction object that contains the transaction within which changes to tables are applied.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Property Transaction As IDbTransaction
Get
Set
'Usage
Dim instance As DbChangesAppliedEventArgs
Dim value As IDbTransaction
value = instance.Transaction
instance.Transaction = value
public IDbTransaction Transaction { get; set; }
public:
property IDbTransaction^ Transaction {
IDbTransaction^ get ();
void set (IDbTransaction^ value);
}
member Transaction : IDbTransaction with get, set
function get Transaction () : IDbTransaction
function set Transaction (value : IDbTransaction)
Property Value
Type: System.Data.IDbTransaction
An IDbTransaction object that contains the transaction within which changes to tables are applied.
Remarks
To access a peer database over the same connection and within the same transaction that Sync Framework uses, use the transaction exposed by this property and the connection exposed by the Connection property.