IMobileServiceSyncTable.PurgeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes all the items in local table that match the query.
public System.Threading.Tasks.Task PurgeAsync (string queryId, string query, bool force, System.Threading.CancellationToken cancellationToken);
abstract member PurgeAsync : string * string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function PurgeAsync (queryId As String, query As String, force As Boolean, cancellationToken As CancellationToken) As Task
Parameters
- queryId
- String
A string that uniquely identifies this query and is used to keep track of its sync state. Supplying this parameter resets the incremental sync state for the query.
- query
- String
An OData query that determines which items to delete.
- force
- Boolean
Force the purge by discarding the pending operations.
- cancellationToken
- CancellationToken
The CancellationToken token to observe
Returns
A task that completes when purge operation has finished.
Applies to
Azure SDK for .NET