Share via


DbChangesAppliedEventArgs.Connection Property

Gets an IDbConnection object for the connection over which changes are applied during synchronization.

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

Syntax

'Declaration
Public ReadOnly Property Connection As IDbConnection
'Usage
Dim instance As DbChangesAppliedEventArgs
Dim value As IDbConnection

value = instance.Connection
public IDbConnection Connection { get; }
public:
property IDbConnection^ Connection {
    IDbConnection^ get ();
}
/** @property */
public IDbConnection get_Connection ()
public function get Connection () : IDbConnection

Property Value

An IDbConnection object that contains a connection to the peer database.

Remarks

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.

See Also

Reference

DbChangesAppliedEventArgs Class
DbChangesAppliedEventArgs Members
Microsoft.Synchronization.Data Namespace