JAMS Developer Guide
SingleInstanceAction Enumeration


MVPSI.JAMS Namespace : SingleInstanceAction Enumeration
Defines the action to be taken if more than one instance of a job tries to start at the same time.
Syntax
'Declaration
 
Public Enum SingleInstanceAction 
   Inherits System.Enum
'Usage
 
Dim instance As SingleInstanceAction
public enum SingleInstanceAction : System.Enum 
Members
MemberDescription
AllowMultipleAllows multiple instances. This setting is the same as not having the SingleInstanceAction set on a job.
CancelExecutingThe currently executing job will be canceled to allow the new instance to take over.
CancelPendingThe pending job will be canceled to allow the existing executing job to continue.
WaitThe pending job waits for the executing job to complete.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         MVPSI.JAMS.SingleInstanceAction

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MVPSI.JAMS Namespace