Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
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
- tableNames
Type: System.Collections.Generic.IEnumerable<String>
A collection of tables 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 | tableNames is a null reference (Nothing in Visual Basic). |
| DataSyncException | Another transaction is in progress. |