Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TaskMultipleInstancePolicy Enumeration

Specifies Task Scheduler options for multiple instance policies of scheduled tasks (jobs). Introduced in Windows PowerShell 3.0.


Namespace: Microsoft.PowerShell.ScheduledJob
Assembly: Microsoft.PowerShell.ScheduledJob (in Microsoft.PowerShell.ScheduledJob.dll)

'Usage
Dim instance As TaskMultipleInstancePolicy

'Declaration
Public Enumeration TaskMultipleInstancePolicy
public enum TaskMultipleInstancePolicy
public enum TaskMultipleInstancePolicy

Member nameDescription
IgnoreNewA new instance of the job is ignored. Introduced in Windows PowerShell 3.0.
NoneNo options are specified. Introduced in Windows PowerShell 3.0.
ParallelParallel running of job instances is allowed. Introduced in Windows PowerShell 3.0.
QueueMultiple instances of a job are queued up. Introduced in Windows PowerShell 3.0.
StopExistingThe currently running job is stopped, and a new job is started. Introduced in Windows PowerShell 3.0.

 

Target Platforms


Show:
© 2016 Microsoft