IDtsDesignerUtilitiesService.EditPropertyExpression Method

Definition

Displays the Expression Builder dialog box that lets the end user use the Integration Services expression language to create and test a property expression.

public:
 bool EditPropertyExpression(System::Windows::Forms::IWin32Window ^ parentWindow, Microsoft::SqlServer::Dts::Runtime::DtsContainer ^ dtsContainer, Microsoft::SqlServer::Dts::Runtime::IDTSPropertiesProvider ^ property, System::String ^ propertyName);
public bool EditPropertyExpression (System.Windows.Forms.IWin32Window parentWindow, Microsoft.SqlServer.Dts.Runtime.DtsContainer dtsContainer, Microsoft.SqlServer.Dts.Runtime.IDTSPropertiesProvider property, string propertyName);
abstract member EditPropertyExpression : System.Windows.Forms.IWin32Window * Microsoft.SqlServer.Dts.Runtime.DtsContainer * Microsoft.SqlServer.Dts.Runtime.IDTSPropertiesProvider * string -> bool
Public Function EditPropertyExpression (parentWindow As IWin32Window, dtsContainer As DtsContainer, property As IDTSPropertiesProvider, propertyName As String) As Boolean

Parameters

parentWindow
IWin32Window

The IWin32Window handle to the Windows form from which the Expression Builder dialog box is invoked.

dtsContainer
DtsContainer

The DtsContainer that defines the scope for package variables that can be used in the expression.

property
IDTSPropertiesProvider

The IDTSPropertiesProvider that represents the property to which the expression is assigned.

propertyName
String

The name of the property to which the expression is assigned.

Returns

true if the expression has changed; otherwise, false.

Remarks

When the expression is a property expression, the EditPropertyExpression method is simpler to use than the EditExpression method. The EditPropertyExpression method determines the return type of the expression from the data type of the property and assigns the expression to the property for you. However, you can also use the EditExpression method whenever you want to let the user create or modify an expression.

Applies to