Partager via


SetExpression méthode

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (dans Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public Sub SetExpression ( _
    propertyName As String, _
    expression As String _
)
'Utilisation
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
)

Paramètres

Implémente

IDTSPropertiesProvider. . :: . .SetExpression(String, String)