ForEachLoop.SetExpression Method
Assigns the specified expression to the property. Specify null 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 _
)
public void SetExpression (
string propertyName,
string expression
)
public:
virtual void SetExpression (
String^ propertyName,
String^ expression
) sealed
public final void SetExpression (
String propertyName,
String expression
)
public final function SetExpression (
propertyName : String,
expression : String
)
Parameters
- propertyName
The name of the property to which to assign the expression.
- expression
The expression.
Remarks
The propertyName can be any property available on the object.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
ForEachLoop Class
ForEachLoop Members
Microsoft.SqlServer.Dts.Runtime Namespace