DeleteItems
EventNames:
DeleteItems_Restrictions
DeleteItems_Pre
DeleteItems_Post
Parameters
Type |
Name |
Description |
---|---|---|
items (deletedItems in POST) |
The items which should get / are deleted. |
|
bool |
successful |
Post: |
Examples:
DeleteItems_Restrictions:
Register-VaultEvent -EventName DeleteItems_Restrictions -Action 'RestrictDeleteItems'
function RestrictDeleteItems($items) {
#Write event code here
}
DeleteItems_Pre:
Register-VaultEvent -EventName DeleteItems_Pre -Action 'PreDeleteItems'
function PreDeleteItems($items) {
#Write event code here
}
DeleteItems_Post:
Register-VaultEvent -EventName DeleteItems_Post -Action 'PostDeleteItems'
function PostDeleteItems($deletedItems, $successful) {
#Write event code here
}