Get a preceding constraint.
Namespace: SSIS.Test.DtsAssembly: 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 related to the executable, otherwise throws ArgumentException.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentException | If a preceding constraint with a given name is not present in the package, ArgumentException is thrown. |