Variable.GetExpression 方法

The GetExpression method is not supported on Variable objects. Use the EvaluateAsExpression property instead.

命名空间:  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
    The name of the property whose expression you want to see.

返回值

类型:System.String
The expression used to evaluate the property.

实现

IDTSPropertiesProvider.GetExpression(String)

请参阅

参考

Variable 类

Microsoft.SqlServer.Dts.Runtime 命名空间