Condividi tramite


Metodo SetExpression

Assigns the specified expression to the property. Specify nullNothingnullptrunitriferimento Null (Nothing in Visual Basic). to remove an existing expression from the property.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public Sub SetExpression ( _
    propertyName As String, _
    expression As String _
)
'Utilizzo
Dim instance As ForEachLoop
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
)

Parametri

Implementa

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

Osservazioni

The propertyName can be any property available on the object.