共用方式為


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 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
)

參數

實作

IDTSPropertiesProvider. . :: . .SetExpression(String, String)

備註

The propertyName can be any property available on the object.