SetExpression 方法
Assigns the specified expression to the property. Specify nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing) to remove an existing expression from the property.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public Sub SetExpression ( _
propertyName As String, _
expression As String _
)
用法
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
)
参数
- propertyName
类型:System. . :: . .String
The name of the property to which to assign the expression.
- expression
类型:System. . :: . .String
The expression.
实现
IDTSPropertiesProvider. . :: . .SetExpression(String, String)
注释
The propertyName can be any property available on the object.