CheckoutFile
EventNames:
CheckoutFile_Restrictions
CheckoutFile_Pre
CheckoutFile_Post
Parameters
Type  | 
Name  | 
Description  | 
|---|---|---|
file  | 
The file which should get / is checked=out.  | 
|
string  | 
localPath  | 
The local path where the file should / is checked=out  | 
bool  | 
successful  | 
Post:  | 
Examples:
CheckoutFile_Restrictions:
Register-VaultEvent -EventName CheckoutFile_Restrictions -Action 'RestrictCheckoutFile'
function RestrictCheckoutFile($file, $localPath) {
	#Write event code here
}
CheckoutFile_Pre:
Register-VaultEvent -EventName CheckoutFile_Pre -Action 'PreCheckoutFile'
function PreCheckoutFile($file, $localPath) {
	#Write event code here
}
CheckoutFile_Post:
Register-VaultEvent -EventName CheckoutFile_Post -Action 'PostCheckoutFile'
function PostCheckoutFile($file, $localPath, $successful) {
	#Write event code here
}