Bagikan melalui


Variable.GetExpression Method

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Function GetExpression ( _
    propertyName As String _
) As String
'Usage
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

Parameters

  • propertyName
    Type: System.String
    The name of the property whose expression you want to see.

Return Value

Type: System.String
The expression used to evaluate the property.

Implements

IDTSPropertiesProvider.GetExpression(String)

See Also

Reference

Variable Class

Microsoft.SqlServer.Dts.Runtime Namespace