次の方法で共有


Variable.GetExpression メソッド

GetExpression メソッドは、Variable オブジェクトではサポートされません。 代わりに EvaluateAsExpression プロパティを使用します。

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

構文

'宣言
Public Function GetExpression ( _
    propertyName As String _
) As String
'使用
Dim instance As Variable 
Dim propertyName As String 
Dim returnValue As String 

returnValue = instance.GetExpression(propertyName)
public string GetExpression(
    string propertyName
)
public:
virtual String^ GetExpression(
    String^ propertyName
) sealed
abstract GetExpression : 
        propertyName:string -> string  
override GetExpression : 
        propertyName:string -> string
public final function GetExpression(
    propertyName : String
) : String

パラメーター

  • propertyName
    型: System.String
    参照する式のプロパティの名前です。

戻り値

型: System.String
プロパティの評価に使用される式です。

実装

IDTSPropertiesProvider.GetExpression(String)

関連項目

参照

Variable クラス

Microsoft.SqlServer.Dts.Runtime 名前空間