Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DbApplyChangeFailedEventArgs.Connection Property

Gets an IDbConnection object for the connection over which changes were tried during synchronization.

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

public IDbConnection Connection { get; }

Property Value

Type: System.Data.IDbConnection
An IDbConnection object that contains a connection to the peer database.

To access a peer database over the same connection and within the same transaction that Sync Framework uses, use the connection exposed by this property and the transaction exposed by the Transaction property.

Show:
© 2015 Microsoft