Freigeben über


ForLoop.SetExpression-Methode

Assigns the specified expression to the property. Specify nullein NULL-Verweis (Nothing in Visual Basic) to remove an existing expression from the property.

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

Syntax

'Declaration
Public Sub SetExpression ( _
    propertyName As String, _
    expression As String _
)
'Usage
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
)

Parameter

  • propertyName
    Typ: System.String
    The name of the property that will store the expression.

Implementiert

IDTSPropertiesProvider.SetExpression(String, String)

Hinweise

The propertyName can be any property available on the object.

Siehe auch

Verweis

ForLoop Klasse

Microsoft.SqlServer.Dts.Runtime-Namespace