UpdateFileStates
EventNames:
UpdateFileStates_Restrictions
UpdateFileStates_Pre
UpdateFileStates_Post
Parameters
Type |
Name |
Description |
---|---|---|
files |
The updated / updating files for a LifeCycle. |
|
bool |
successful |
Post: |
Examples:
UpdateFileStates_Restrictions:
Register-VaultEvent -EventName UpdateFileStates_Restrictions -Action 'RestrictUpdateFileStates'
function RestrictUpdateFileStates($files) {
#Write event code here
}
UpdateFileStates_Pre:
Register-VaultEvent -EventName UpdateFileStates_Pre -Action 'PreUpdateFileStates'
function PreUpdateFileStates($files) {
#Write event code here
}
UpdateFileStates_Post:
Register-VaultEvent -EventName UpdateFileStates_Post -Action 'PostUpdateFileStates'
function PostUpdateFileStates($files, $successful) {
#Write event code here
}