SqlCeClientSyncProvider.GetChanges Method (String)
Gets inserts, updates, and deletes from the specified table 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 ( _
tableName As String _
) As SyncContext
'Usage
Dim instance As SqlCeClientSyncProvider
Dim tableName As String
Dim returnValue As SyncContext
returnValue = instance.GetChanges(tableName)
public SyncContext GetChanges(
string tableName
)
public:
SyncContext^ GetChanges(
String^ tableName
)
member GetChanges :
tableName:string -> SyncContext
public function GetChanges(
tableName : String
) : SyncContext
Parameters
- tableName
Type: System.String
A table in the client database for which to get changes.
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 | tableName is a null reference (Nothing in Visual Basic). |
DataSyncException | Another transaction is in progress. |