Compartir a través de


Variable.GetExpression Método

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
Public Function GetExpression ( _
    propertyName As String _
) As String
'Uso
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

Parámetros

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

Valor devuelto

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

Implementa

IDTSPropertiesProvider.GetExpression(String)

Vea también

Referencia

Variable Clase

Espacio de nombres Microsoft.SqlServer.Dts.Runtime