AddBPComponent Method
Deprecated. Use BPComponentFactory of IBusinessProcess4. Adds the specified Component to the test.
Visual Basic
Public Function AddBPComponent( _
   ByVal pComponent As Object _
) As Object
A Component Object.
Return Type
A reference to the new BPComponent Object.

A BPComponent is an instance of a Component in a BusinessProcess. Adding a Component to a BusinessProcess twice creates two BPComponent objects. Adding the same Component to two different BusinessProcesss also creates two BPComponent objects.

AddBPComponent also creates one BPIteration and one BPIterationParam for each component parameter in that iteration.

Save any modifications to the returned BPComponent by calling BusinessProcess.Save.

See Also