ScheduledJob Class

Represents a scheduled job. This class cannot be inherited. This SDK programming element is introduced in Windows PowerShell 3.0.


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

'Usage
Dim instance As ScheduledJob

[SerializableAttribute] 
public sealed class ScheduledJob : Job2, ISerializable
/** @attribute SerializableAttribute() */ 
public final class ScheduledJob extends Job2 implements ISerializable
SerializableAttribute 
public final class ScheduledJob extends Job2 implements ISerializable

This class is used to load job result data from previously run jobs so that a user can view results of scheduled job runs. This class also contains the definition of the scheduled job, so it can run an instance of the scheduled job and optionally save the results to a file.

This class can be serialized.


System.Object
   System.Management.Automation.Job
     System.Management.Automation.Job2
      Microsoft.PowerShell.ScheduledJob.ScheduledJob

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2015 Microsoft