次の方法で共有


EditPropertyExpression メソッド

エンド ユーザーが Integration Services 式言語を使用してプロパティ式を作成およびテストできるようにする [式ビルダ] ダイアログ ボックスを表示します。

名前空間:  Microsoft.SqlServer.Dts.Design
アセンブリ:  Microsoft.SqlServer.Dts.Design (Microsoft.SqlServer.Dts.Design.dll)

構文

'宣言
Function EditPropertyExpression ( _
    parentWindow As IWin32Window, _
    dtsContainer As DtsContainer, _
    property As IDTSPropertiesProvider, _
    propertyName As String _
) As Boolean
'使用
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

パラメーター

戻り値

型: System. . :: . .Boolean
式が変更された場合は true、それ以外の場合は false です。

説明

式がプロパティ式の場合は、EditExpression メソッドよりも EditPropertyExpression メソッドを使用する方が簡単です。EditPropertyExpression メソッドは、プロパティのデータ型から式の戻り値の型を決定し、式をプロパティに割り当てます。ただし、ユーザーが式を作成または変更することができるようにする場合は、EditExpression メソッドも使用できます。