Share via


DbSyncConflict.RemoteChange Property

Gets the DataTable object that contains the conflicting rows from the remote database.

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

Syntax

'Declaration
Public ReadOnly Property RemoteChange As DataTable
    Get
'Usage
Dim instance As DbSyncConflict
Dim value As DataTable

value = instance.RemoteChange
public DataTable RemoteChange { get; }
public:
property DataTable^ RemoteChange {
    DataTable^ get ();
}
member RemoteChange : DataTable
function get RemoteChange () : DataTable

Property Value

Type: System.Data.DataTable
A DataTable object that contains the conflicting rows from the remote database.

Remarks

The changes that are available through the LocalChange and RemoteChange objects depend on where a conflict was detected. For more information, see "Conflict and Error Detection" in How to: Handle Data Conflicts and Errors for Database Synchronization (SQL Server). If an application must change data values during synchronization, use the DbSyncContext object instead of the DbSyncConflict object. The DbSyncConflict object contains copies of the rows at each peer. Changes to these copies are not persisted at each peer during synchronization.

Examples

For an example of how to handle conflicts, see How to: Handle Data Conflicts and Errors for Database Synchronization (SQL Server).

See Also

Reference

DbSyncConflict Class

Microsoft.Synchronization.Data Namespace