Interface IRecycleBinItemCollection
Public interface to define a collection of RecycleBinItem objects
Assembly: PnP.Core.dll
Syntax
public interface IRecycleBinItemCollection : IDataModelCollection<IRecycleBinItem>, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionLoad<IRecycleBinItem>, IDataModelCollectionDeleteByGuidId, ISupportModules<IRecycleBinItemCollection>
Methods
Permanently deletes all Recycle Bin items.
Declaration
Permanently deletes all Recycle Bin items.
Declaration
Returns
Permanently deletes all Recycle Bin items using the current context batch instance.
Declaration
Permanently deletes all Recycle Bin items using a specific batch instance.
Declaration
void DeleteAllBatch(Batch batch)
Parameters
Permanently deletes all Recycle Bin items using the current context batch instance.
Declaration
Task DeleteAllBatchAsync()
Returns
Permanently deletes all Recycle Bin items using a specific batch instance.
Declaration
Task DeleteAllBatchAsync(Batch batch)
Parameters
Returns
Permanently deletes second stage Recycle Bin items.
Declaration
void DeleteAllSecondStageItems()
Permanently deletes second stage Recycle Bin items.
Declaration
Task DeleteAllSecondStageItemsAsync()
Returns
Permanently deletes all Recycle Bin items using the current context batch instance.
Declaration
void DeleteAllSecondStageItemsBatch()
Permanently deletes second stage Recycle Bin items using a specific batch instance.
Declaration
void DeleteAllSecondStageItemsBatch(Batch batch)
Parameters
Permanently deletes second stage Recycle Bin items using the current context batch instance.
Declaration
Task DeleteAllSecondStageItemsBatchAsync()
Returns
Permanently deletes second stage Recycle Bin items using a specific batch instance.
Declaration
Task DeleteAllSecondStageItemsBatchAsync(Batch batch)
Parameters
Returns
Method to select a recycle bin item (IRecycleBinItem
) by id
Declaration
IRecycleBinItem GetById(Guid id, params Expression<Func<IRecycleBinItem, object>>[] selectors)
Parameters
Guid
id
The Id to search for
|
Expression<Func<IRecycleBinItem, System.Object>>[]
selectors
The expressions declaring the fields to select
|
Returns
Method to select a recycle bin item (IRecycleBinItem
) by id asynchronously
Declaration
Task<IRecycleBinItem> GetByIdAsync(Guid id, params Expression<Func<IRecycleBinItem, object>>[] selectors)
Parameters
Guid
id
The Id to search for
|
Expression<Func<IRecycleBinItem, System.Object>>[]
selectors
The expressions declaring the fields to select
|
Returns
Move all Recycle Bin items to second stage.
Declaration
void MoveAllToSecondStage()
Move all Recycle Bin items to second stage.
Declaration
Task MoveAllToSecondStageAsync()
Returns
Move all Recycle Bin items to second stage using the current context batch instance.
Declaration
void MoveAllToSecondStageBatch()
Move all Recycle Bin items to second stage using a specific batch instance.
Declaration
void MoveAllToSecondStageBatch(Batch batch)
Parameters
Move all Recycle Bin items to second stage using the current context batch instance.
Declaration
Task MoveAllToSecondStageBatchAsync()
Returns
Move all Recycle Bin items to second stage using a specific batch instance.
Declaration
Task MoveAllToSecondStageBatchAsync(Batch batch)
Parameters
Returns
Restores all Recycle Bin items to their original locations.
Declaration
Restores all Recycle Bin items to their original locations.
Declaration
Returns
Restores all Recycle Bin items to their original locations using the current context batch instance.
Declaration
Restores all Recycle Bin items to their original locations using a specific batch instance.
Declaration
void RestoreAllBatch(Batch batch)
Parameters
Restores all Recycle Bin items to their original locations using the current context batch instance.
Declaration
Task RestoreAllBatchAsync()
Returns
Restores all Recycle Bin items to their original locations using a specific batch instance.
Declaration
Task RestoreAllBatchAsync(Batch batch)
Parameters
Returns
Extension Methods