Share via


ForLoopClass.SetExpression(String, String) Method

Definition

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

public:
 virtual void SetExpression(System::String ^ bstrPropertyName, System::String ^ bstrExpression) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPropertiesProvider100::SetExpression;
public virtual void SetExpression (string bstrPropertyName, string bstrExpression);
abstract member SetExpression : string * string -> unit
override this.SetExpression : string * string -> unit
Public Overridable Sub SetExpression (bstrPropertyName As String, bstrExpression As String)

Parameters

bstrPropertyName
String

The name of the property that will store the expression.

bstrExpression
String

The expression to assign.

Implements

Applies to