MobileServiceSyncTableExtensions.PurgeAsync MobileServiceSyncTableExtensions.PurgeAsync MobileServiceSyncTableExtensions.PurgeAsync Method

Definition

Overloads

PurgeAsync(IMobileServiceSyncTable) PurgeAsync(IMobileServiceSyncTable) PurgeAsync(IMobileServiceSyncTable)

Deletes all the items in local table

PurgeAsync(IMobileServiceSyncTable, Boolean) PurgeAsync(IMobileServiceSyncTable, Boolean) PurgeAsync(IMobileServiceSyncTable, Boolean)

Deletes all the items in local table

PurgeAsync(IMobileServiceSyncTable, String) PurgeAsync(IMobileServiceSyncTable, String) PurgeAsync(IMobileServiceSyncTable, String)

Deletes all the items in local table that match the query.

PurgeAsync<T,U>(IMobileServiceSyncTable<T>, IMobileServiceTableQuery<U>) PurgeAsync<T,U>(IMobileServiceSyncTable<T>, IMobileServiceTableQuery<U>) PurgeAsync<T,U>(IMobileServiceSyncTable<T>, IMobileServiceTableQuery<U>)

Deletes all the items in local table that match the query.

PurgeAsync(IMobileServiceSyncTable) PurgeAsync(IMobileServiceSyncTable) PurgeAsync(IMobileServiceSyncTable)

Deletes all the items in local table

public static System.Threading.Tasks.Task PurgeAsync (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable table);
static member PurgeAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable -> System.Threading.Tasks.Task
<Extension()>
Public Function PurgeAsync (table As IMobileServiceSyncTable) As Task
Parameters
table
IMobileServiceSyncTable IMobileServiceSyncTable IMobileServiceSyncTable

The instance of table to execute purge on.

Returns

A task that completes when purge operation has finished.

PurgeAsync(IMobileServiceSyncTable, Boolean) PurgeAsync(IMobileServiceSyncTable, Boolean) PurgeAsync(IMobileServiceSyncTable, Boolean)

Deletes all the items in local table

public static System.Threading.Tasks.Task PurgeAsync (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable table, bool force);
static member PurgeAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable * bool -> System.Threading.Tasks.Task
<Extension()>
Public Function PurgeAsync (table As IMobileServiceSyncTable, force As Boolean) As Task
Parameters
table
IMobileServiceSyncTable IMobileServiceSyncTable IMobileServiceSyncTable

The instance of table to execute purge on.

force
Boolean Boolean Boolean

Force the purge by discarding the pending operations.

Returns

A task that completes when purge operation has finished.

PurgeAsync(IMobileServiceSyncTable, String) PurgeAsync(IMobileServiceSyncTable, String) PurgeAsync(IMobileServiceSyncTable, String)

Deletes all the items in local table that match the query.

public static System.Threading.Tasks.Task PurgeAsync (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable table, string query);
static member PurgeAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable * string -> System.Threading.Tasks.Task
<Extension()>
Public Function PurgeAsync (table As IMobileServiceSyncTable, query As String) As Task
Parameters
table
IMobileServiceSyncTable IMobileServiceSyncTable IMobileServiceSyncTable

The instance of table to execute purge on.

query
String String String

An OData query that determines which items to delete.

Returns

A task that completes when purge operation has finished.

PurgeAsync<T,U>(IMobileServiceSyncTable<T>, IMobileServiceTableQuery<U>) PurgeAsync<T,U>(IMobileServiceSyncTable<T>, IMobileServiceTableQuery<U>) PurgeAsync<T,U>(IMobileServiceSyncTable<T>, IMobileServiceTableQuery<U>)

Deletes all the items in local table that match the query.

public static System.Threading.Tasks.Task PurgeAsync<T,U> (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<T> table, Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<U> query);
static member PurgeAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<'T> * Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'U> -> System.Threading.Tasks.Task
<Extension()>
Public Function PurgeAsync(Of T, U) (table As IMobileServiceSyncTable(Of T), query As IMobileServiceTableQuery(Of U)) As Task
Type Parameters
T
U
Parameters
table
IMobileServiceSyncTable<T> IMobileServiceSyncTable<T> IMobileServiceSyncTable<T>

The instance of table to execute purge on.

query
IMobileServiceTableQuery<U>

An OData query that determines which items to delete.

Returns

A task that completes when purge operation has finished.

Applies to