ContainerParentJob Class

Definition

Top level container job

public sealed class ContainerParentJob : System.Management.Automation.Job2
Inheritance
ContainerParentJob

Inherited Members

System.Management.Automation.Job

System.Management.Automation.Job2

Constructors

ContainerParentJob(String)

Create a container parent job with the specified command string

ContainerParentJob(String, String)

Create a container parent job with the specified command string and name

ContainerParentJob(String, String, Guid)

Create a container parent job with the specified command string

ContainerParentJob(String, String, JobIdentifier)

Create a container parent job with the specified command string

ContainerParentJob(String, String, String)

Create a container parent job with the specified command, name, job type strings.

ContainerParentJob(String, String, Guid, String)

Create a container parent job with the specified command string

ContainerParentJob(String, String, JobIdentifier, String)

Create a container parent job with the specified command string

Properties

HasMoreData

indicates if more data is available

Location

Computers on which this job is running

StatusMessage

Message indicating status of the job

Methods

AddChildJob(Job2)

Add a child job to the parent job

ResumeJob()

Resume all jobs.

ResumeJobAsync()

Resume all jobs asynchronously.

StartJob()

Starts all jobs.

StartJobAsync()

Starts all child jobs asynchronously. When all child jobs are started, StartJobCompleted event is raised.

StopJob()

Stop all child jobs.

StopJob(Boolean, String)

StopJob

StopJobAsync()

Stops all child jobs asynchronously. Once all child jobs are stopped, StopJobCompleted event is raised.

StopJobAsync(Boolean, String)

StopJobAsync

SuspendJob()

Suspends all jobs.

SuspendJob(Boolean, String)

Suspends all jobs forcefully.

SuspendJobAsync()

Suspends all jobs asynchronously. When all jobs have been suspended, SuspendJobCompleted is raised.

SuspendJobAsync(Boolean, String)

Suspends all jobs asynchronously with force flag. When all jobs have been suspended, SuspendJobCompleted is raised.

UnblockJob()

Unblock all child jobs.

UnblockJobAsync()

Unblock all child jobs asynchronously. Once all child jobs are unblocked, UnblockJobCompleted event is raised.