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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應