Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 ApplyingChangesEventArgs
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 client or server database.
Remarks
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 Framework uses.
Example
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.
See Also
Reference
ApplyingChangesEventArgs Class
ApplyingChangesEventArgs Members
Microsoft.Synchronization.Data Namespace