ScheduledJob Methods

(see also Protected Methods)
 NameDescription
public methodDispose  Overloaded. Releases the resources that are used by the Job object. These methods implement the Dispose pattern used to release managed and unmanaged resources. This method is introduced in Windows PowerShell 2.0. (Inherited from Job)
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetObjectDataPopulates an object with the data needed to serialize the scheduled job. This SDK programming element is introduced in Windows PowerShell 3.0.
public methodGetType  (Inherited from Object)
public methodLoadJobStreams  Loads the required job streams. (Inherited from Job)
public methodResumeJobOverridden. Not supported. This SDK programming element is introduced in Windows PowerShell 3.0.
public methodResumeJobAsyncOverridden. Not supported. This SDK programming element is introduced in Windows PowerShell 3.0.
public methodStartJobOverridden. Starts a scheduled job as defined by the contained ScheduledJobDefinition object. This SDK programming element is introduced in Windows PowerShell 3.0.
public methodStartJobAsyncOverridden. Not supported. This SDK programming element is introduced in Windows PowerShell 3.0.
public methodStopJobOverloaded. Overridden. Stops the scheduled job from running.
public methodStopJobAsyncOverloaded. Overridden. Asynchronously stops the scheduled job from running.
public methodSuspendJobOverloaded. Overridden. Not supported.
public methodSuspendJobAsyncOverloaded. Overridden. Not supported.
public methodToString  (Inherited from Object)
public methodUnblockJobOverridden. Not supported. This SDK programming element is introduced in Windows PowerShell 3.0.
public methodUnblockJobAsyncOverridden. Not supported. This SDK programming element is introduced in Windows PowerShell 3.0.
public methodUnloadJobStreams  Unloads the required job streams. (Inherited from Job)

  Name Description
protected method AutoGenerateJobName  Automatically adds the specified job name if the user does not supply one when creating the job. This method is introduced in Windows PowerShell 2.0. (Inherited from Job)
protected method Dispose  Overloaded. Releases the resources that are used by the Job object. These methods implement the Dispose pattern used to release managed and unmanaged resources. This method is introduced in Windows PowerShell 2.0. (Inherited from Job)
protected method DoLoadJobStreams  Specifies the loading of the streams for a particular job. (Inherited from Job)
protected method DoUnloadJobStreams  Unloads job stream information, which enables jobs to clear stream information from memory. (Inherited from Job)
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
protected method OnResumeJobCompleted  Raises the event when resuming a suspended job is completed. (Inherited from Job2)
protected method OnStartJobCompleted  Raises the event when the starting of a job is completed. (Inherited from Job2)
protected method OnStopJobCompleted  Raises the event when the stopping of a job is completed. (Inherited from Job2)
protected method OnSuspendJobCompleted  Raises the event when the suspending of a job is completed. (Inherited from Job2)
protected method OnUnblockJobCompleted  Raises the event when the unblocking of a blocked job is completed. (Inherited from Job2)
protected method SetJobState  Sets the status of the job, such as is it running, has it completed, or has it failed. This method is introduced in Windows PowerShell 2.0. (Inherited from Job)
protected method SetJobState  Stores the state of the job. (Inherited from Job2)

Send comments about this topic to Microsoft.
Show:
© 2014 Microsoft