DisposalType Enum
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.
The DisposalType enumeration describes how an item or folder is deleted.
public enum class DisposalType
public enum DisposalType
Public Enum DisposalType
- Inheritance
-
DisposalType
Fields
HardDelete | 0 | An item is permanently removed from the store. |
MoveToDeletedItems | 2 | An item is moved to the Deleted Items folder. |
SoftDelete | 1 | An item is moved to the dumpster if the dumpster is enabled. |
Remarks
This enumeration is used by the DeleteFolder and DeleteItem operations. This enumeration must be set on the DeleteType property on the DeleteItemType object and the DeleteType property on the DeleteFolderType object.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for