GetPropertyForPath Method
Gets a property. All package containers will be recursively searched.

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

Syntax

C#
public DtsObjectProperty GetPropertyForPath(
	string path
)
Visual Basic
Public Function GetPropertyForPath ( _
	path As String _
) As DtsObjectProperty
Visual C++
public:
DtsObjectProperty^ GetPropertyForPath(
	String^ path
)

Parameters

path
Type: System..::..String
Path to the property. E.g. \[Customer Package].[DelayValidation]

Return Value

Instance of DtsObjectProperty if found in the package, otherwise throws ArgumentException.

Exceptions

ExceptionCondition
System..::..ArgumentExceptionIf a property for a given path is not present in the package, ArgumentException is thrown.

See Also