Assigns the specified expression to the property. Specify null to remove an existing expression from the property.

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

Syntax

C#
public virtual void SetExpression(
	string propertyName,
	string expression
)
Visual Basic
Public Overridable Sub SetExpression ( _
	propertyName As String, _
	expression As String _
)
Visual C++
public:
virtual void SetExpression(
	String^ propertyName, 
	String^ expression
)

Parameters

propertyName
Type: System..::..String
The name of the property to assign the expression to.
expression
Type: System..::..String
The expression.

See Also