Compartilhar via


Método ForLoop.SetExpression

Assigns the specified expression to the property. Specify nulluma referência nula (Nothing no Visual Basic) to remove an existing expression from the property.

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

Sintaxe

'Declaração
Public Sub SetExpression ( _
    propertyName As String, _
    expression As String _
)
'Uso
Dim instance As ForLoop 
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 that will store the expression.

Implementa

IDTSPropertiesProvider.SetExpression(String, String)

Comentários

The propertyName can be any property available on the object.

Consulte também

Referência

ForLoop Classe

Namespace Microsoft.SqlServer.Dts.Runtime