Share via


SqlCeClientSyncProvider.GetChanges Method (IEnumerable<String>)

Gets inserts, updates, and deletes from the specified tables at the client that occurred since the last time Synchronize or AcceptChanges was called.

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

Syntax

'Declaration
Public Function GetChanges ( _
    tableNames As IEnumerable(Of String) _
) As SyncContext
'Usage
Dim instance As SqlCeClientSyncProvider
Dim tableNames As IEnumerable(Of String)
Dim returnValue As SyncContext

returnValue = instance.GetChanges(tableNames)
public SyncContext GetChanges(
    IEnumerable<string> tableNames
)
public:
SyncContext^ GetChanges(
    IEnumerable<String^>^ tableNames
)
member GetChanges : 
        tableNames:IEnumerable<string> -> SyncContext 
public function GetChanges(
    tableNames : IEnumerable<String>
) : SyncContext

Parameters

Return Value

Type: Microsoft.Synchronization.Data.SyncContext
A SyncContext object that contains data changes and anchor values and other metadata for a synchronization session.

Exceptions

Exception Condition
ArgumentNullException

tableNames is a null reference (Nothing in Visual Basic).

DataSyncException

Another transaction is in progress.

See Also

Reference

SqlCeClientSyncProvider Class

GetChanges Overload

Microsoft.Synchronization.Data.SqlServerCe Namespace