PSJob.ChildJobs Property

Gets the PSJob objects for each runspace where the job is run, plus the object that defines the job.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in system.management.automation.dll)

public IList<PSJob> ChildJobs { get; }
/** @property */
public IList<PSJob> get_ChildJobs ()

public function get ChildJobs () : IList<PSJob>

Property Value

A list of PSJob objects for each runspace where the job is run, plus the object that defines the job. For example, if the job is run in five runspaces, this property will contain a list of six PSJob objects, 5 objects for the runspaces and one object for the job definition. Notice also that the ChildJobs property will always return at least one PSJob object that defines the job.

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

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP
Show:
© 2015 Microsoft