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

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