ChangesSelectedEventArgs::Transaction Property

Gets or sets an IDbTransaction object that contains the transaction within which changes to tables are selected.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

public:
property IDbTransaction^ Transaction {
	IDbTransaction^ get ();
	void set (IDbTransaction^ value);
}

Property Value

Type: System.Data::IDbTransaction
An IDbTransaction object that contains the transaction within which changes to tables are selected.

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.

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.

Show: