Sdílet prostřednictvím


PackageNeutralClass.SetExpression(String, String) Method

Definition

Assigns the specified expression to 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 assign the expression to.

bstrExpression
String

The expression.

Implements

Remarks

For more information, see Package.

Applies to