adTempus API
PreviousUpNext
FileTriggerOptionsEnum Enumeration

Options that control the behavior of a FileTrigger.

C++
enum FileTriggerOptionsEnum {
  ftoRequireExclusiveAccess = 1,
  ftoTriggerFileExists = 0xA,
  ftoTriggerFileNotExists = 4,
  ftoTriggerFileCreated = 8,
  ftoTriggerFileModified = 0x10,
  ftoTriggerFileDeleted = 0x20,
  ftoCaptureFile = 0x40,
  ftoTriggerForEach = 0x80,
  ftoListAllMatchingFiles = 0x100
};
C#
public enum FileTriggerOptionsEnum {
  ftoRequireExclusiveAccess = 1,
  ftoTriggerFileExists = 0xA,
  ftoTriggerFileNotExists = 4,
  ftoTriggerFileCreated = 8,
  ftoTriggerFileModified = 0x10,
  ftoTriggerFileDeleted = 0x20,
  ftoCaptureFile = 0x40,
  ftoTriggerForEach = 0x80,
  ftoListAllMatchingFiles = 0x100
}
Visual Basic
Public Enum FileTriggerOptionsEnum
  ftoRequireExclusiveAccess = 1
  ftoTriggerFileExists = &HA
  ftoTriggerFileNotExists = 4
  ftoTriggerFileCreated = 8
  ftoTriggerFileModified = &H10
  ftoTriggerFileDeleted = &H20
  ftoCaptureFile = &H40
  ftoTriggerForEach = &H80
  ftoListAllMatchingFiles = &H100
End Enum
Members
Members 
Description 
ftoRequireExclusiveAccess = 1 
The trigger is not fired unless adTempus can obtain exclusive access to the file. 
ftoTriggerFileExists = 0xA 
The trigger is fired if a matching file exists (includes ftoTriggerFileCreated). 
ftoTriggerFileNotExists = 4 
The trigger is fired if a matching file does not exist. 
ftoTriggerFileCreated = 8 
The trigger is fired whenever a matching file is created. 
ftoTriggerFileModified = 0x10 
The trigger is fired whenever a matching file is modified. 
ftoTriggerFileDeleted = 0x20 
The trigger is fired whenever a matching file is deleted. 
ftoCaptureFile = 0x40 
The file that causes the trigger to fire is saved in the job's history. 
ftoTriggerForEach = 0x80 
If more than one file meets the criteria, the job is triggered once for each file. 
ftoListAllMatchingFiles = 0x100 
If more than one file meets the criteria, the job is triggered only once, but the FileName parameter contains the names of all of the matching files 
adTempus API Reference version 3.0.0.0, revised 10/30/2008