IDtsDesignerUtilitiesService.EditPropertyExpression Method
Displays the Expression Builder dialog box that lets the end user use the Integration Services expression language to create and test a property expression.
Namespace: Microsoft.SqlServer.Dts.Design
Assembly: Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)
Syntax
'Deklaracja
Function EditPropertyExpression ( _
parentWindow As IWin32Window, _
dtsContainer As DtsContainer, _
property As IDTSPropertiesProvider, _
propertyName As String _
) As Boolean
bool EditPropertyExpression (
IWin32Window parentWindow,
DtsContainer dtsContainer,
IDTSPropertiesProvider property,
string propertyName
)
bool EditPropertyExpression (
IWin32Window^ parentWindow,
DtsContainer^ dtsContainer,
IDTSPropertiesProvider^ property,
String^ propertyName
)
boolean EditPropertyExpression (
IWin32Window parentWindow,
DtsContainer dtsContainer,
IDTSPropertiesProvider property,
String propertyName
)
function EditPropertyExpression (
parentWindow : IWin32Window,
dtsContainer : DtsContainer,
property : IDTSPropertiesProvider,
propertyName : String
) : boolean
Parameters
- parentWindow
The IWin32Window handle to the Windows form from which the Expression Builder dialog box is invoked.
- dtsContainer
The DtsContainer that defines the scope for package variables that can be used in the expression.
- property
The IDTSPropertiesProvider that represents the property to which the expression is assigned.
- propertyName
The name of the property to which the expression is assigned.
Return Value
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.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.