Variable.SetExpression Método
The SetExpression 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 Sub SetExpression ( _
propertyName As String, _
expression As String _
)
'Uso
Dim instance As Variable
Dim propertyName As String
Dim expression As String
instance.SetExpression(propertyName, _
expression)
public void SetExpression(
string propertyName,
string expression
)
public:
virtual void SetExpression(
String^ propertyName,
String^ expression
) sealed
abstract SetExpression :
propertyName:string *
expression:string -> unit
override SetExpression :
propertyName:string *
expression:string -> unit
public final function SetExpression(
propertyName : String,
expression : String
)
Parámetros
- propertyName
Tipo: System.String
The name of the property to which to assign the expression.
- expression
Tipo: System.String
The expression.
Implementa
IDTSPropertiesProvider.SetExpression(String, String)