Compartilhar via


Método IDtsDesignerUtilitiesService.EditPropertyExpression

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 (em Microsoft.SqlServer.Dts.Design.dll)

Sintaxe

'Declaração
Function EditPropertyExpression ( _
    parentWindow As IWin32Window, _
    dtsContainer As DtsContainer, _
    property As IDTSPropertiesProvider, _
    propertyName As String _
) As Boolean
'Uso
Dim instance As IDtsDesignerUtilitiesService 
Dim parentWindow As IWin32Window 
Dim dtsContainer As DtsContainer 
Dim property As IDTSPropertiesProvider 
Dim propertyName As String 
Dim returnValue As Boolean 

returnValue = instance.EditPropertyExpression(parentWindow, _
    dtsContainer, property, propertyName)
bool EditPropertyExpression(
    IWin32Window parentWindow,
    DtsContainer dtsContainer,
    IDTSPropertiesProvider property,
    string propertyName
)
bool EditPropertyExpression(
    IWin32Window^ parentWindow, 
    DtsContainer^ dtsContainer, 
    IDTSPropertiesProvider^ property, 
    String^ propertyName
)
abstract EditPropertyExpression : 
        parentWindow:IWin32Window * 
        dtsContainer:DtsContainer * 
        property:IDTSPropertiesProvider * 
        propertyName:string -> bool
function EditPropertyExpression(
    parentWindow : IWin32Window, 
    dtsContainer : DtsContainer, 
    property : IDTSPropertiesProvider, 
    propertyName : String
) : boolean

Parâmetros

  • propertyName
    Tipo: System.String
    The name of the property to which the expression is assigned.

Valor de retorno

Tipo: System.Boolean
true if the expression has changed; otherwise, false.

Comentários

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.

Consulte também

Referência

IDtsDesignerUtilitiesService Interface

Namespace Microsoft.SqlServer.Dts.Design