Export (0) Print
Expand All

ApplyChangeFailedEventArgs.Connection Property

Synchronization Services - ADO.NET 1.0 SP1

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

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

public IDbConnection Connection { get; }
/** @property */
public IDbConnection get_Connection ()

public function get Connection () : IDbConnection

Property Value

An IDbConnection object that contains a connection to the client or server database.

Use the connection exposed by this property and the transaction exposed by the Transaction 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:
© 2014 Microsoft