UpdateFolderStates
EventNames:
UpdateFolderStates_Restrictions
UpdateFolderStates_Pre
UpdateFolderStates_Post
Parameters
Type |
Name |
Description |
---|---|---|
folders |
The folders in Vault for which the lifefycle status changes/was changed. |
|
bool |
successful |
Post: |
Examples:
UpdateFolderStates_Restrictions:
Register-VaultEvent -EventName UpdateFolderStates_Restrictions -Action 'RestrictUpdateFolderStates'
function RestrictUpdateFolderStates($folders) {
#Write event code here
}
UpdateFolderStates_Pre:
Register-VaultEvent -EventName UpdateFolderStates_Pre -Action 'PreUpdateFolderStates'
function PreUpdateFolderStates($folders) {
#Write event code here
}
UpdateFolderStates:
Register-VaultEvent -EventName UpdateFolderStates_Post -Action 'PostUpdateFolderStates'
function PostUpdateFolderStates($folders, $successful) {
#Write event code here
}