MobileServiceSyncTableExtensions.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.
Overloads
PurgeAsync(IMobileServiceSyncTable) |
Deletes all the items in local table |
PurgeAsync(IMobileServiceSyncTable, Boolean) |
Deletes all the items in local table |
PurgeAsync(IMobileServiceSyncTable, String) |
Deletes all the items in local table that match the query. |
PurgeAsync<T,U>(IMobileServiceSyncTable<T>, IMobileServiceTableQuery<U>) |
Deletes all the items in local table that match the query. |
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
The instance of table to execute purge on.
Returns
A task that completes when purge operation has finished.
Applies to
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
The instance of table to execute purge on.
- force
- Boolean
Force the purge by discarding the pending operations.
Returns
A task that completes when purge operation has finished.
Applies to
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
The instance of table to execute purge on.
- query
- String
An OData query that determines which items to delete.
Returns
A task that completes when purge operation has finished.
Applies to
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
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
Azure SDK for .NET