ContainerParentJob.AddChildJob(Job2) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a child job to the parent job.
public:
void AddChildJob(System::Management::Automation::Job2 ^ childJob);
public void AddChildJob (System.Management.Automation.Job2 childJob);
member this.AddChildJob : System.Management.Automation.Job2 -> unit
Public Sub AddChildJob (childJob As Job2)
Parameters
- childJob
- Job2
Child job to add.
Exceptions
Thrown if the job is disposed.
Thrown if child being added is null.