Export (0) Print
Expand All

ApplyChangeFailedEventArgs.Transaction Property

Synchronization Services - ADO.NET 1.0 SP1

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)

public IDbTransaction Transaction { get; }
/** @property */
public IDbTransaction get_Transaction ()

public function get Transaction () : IDbTransaction

Property Value

An IDbTransaction object that contains the transaction within which changes to tables were attempted.

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 Services uses.

For an example of how to access a database over the same connection and within the same transaction that Sync Services uses, see How to: Work with Events and Program Business Logic.

Show:
© 2015 Microsoft