The AddConstraint method adds a PrecedenceConstraint object by Step object name.
| PrecedenceConstraints Collection |
object.AddConstraint(StepName)
| Part | Description |
|---|---|
| PrecedenceConstraints | Expression that evaluates to an object in the Applies To list |
| StepName | Name of the step to which to add a precedence constraint |
HRESULT AddConstraint(BSTR StepName);