Share via


ForLoopClass.SetExpression Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Assigns the specified expression to the property. Specify nulla null reference (Nothing in Visual Basic) to remove an existing expression from the property.

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

Syntax

'Declaration
Public Overridable Sub SetExpression ( _
    bstrPropertyName As String, _
    bstrExpression As String _
)
'Usage
Dim instance As ForLoopClass 
Dim bstrPropertyName As String 
Dim bstrExpression As String

instance.SetExpression(bstrPropertyName, _
    bstrExpression)
public virtual void SetExpression(
    string bstrPropertyName,
    string bstrExpression
)
public:
virtual void SetExpression(
    [InAttribute] String^ bstrPropertyName, 
    [InAttribute] String^ bstrExpression
)
abstract SetExpression : 
        bstrPropertyName:string * 
        bstrExpression:string -> unit  
override SetExpression : 
        bstrPropertyName:string * 
        bstrExpression:string -> unit
public function SetExpression(
    bstrPropertyName : String, 
    bstrExpression : String
)

Parameters

  • bstrPropertyName
    Type: System.String
    The name of the property that will store the expression.

Implements

IDTSPropertiesProvider100.SetExpression(String, String)

See Also

Reference

ForLoopClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace