Get a precedence constraint.

Namespace: SSIS.Test.Dts
Assembly: SSIS.Test (in SSIS.Test.dll) Version: 3.0.0.236 (3.0.0.236)

Syntax

C#
public DtsPrecedenceConstraint GetPrecedingConstraint(
	string name
)
Visual Basic
Public Function GetPrecedingConstraint ( _
	name As String _
) As DtsPrecedenceConstraint
Visual C++
public:
DtsPrecedenceConstraint^ GetPrecedingConstraint(
	String^ name
)

Parameters

name
Type: System..::..String
Name of the preceding constraint to get.

Return Value

Instance of DtsPrecedenceConstraint if found in the packge, otherwise throws ArgumentException.

Exceptions

ExceptionCondition
System..::..ArgumentExceptionIf a preceding constraint with a given name is not present in the package, ArgumentException is thrown.

See Also