Share via


ForEachEnumeratorHostClass.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 to which to assign the expression.

bstrExpression
String

The expression to associate with the property.

Implements

Applies to