共用方式為


IDTSProperty100.SetExpression(Object, String) Method

Definition

Assigns the specified expression to the object.

public:
 void SetExpression(System::Object ^ pObject, System::String ^ bstrExpression);
[System.Runtime.InteropServices.DispId(16)]
public void SetExpression (object pObject, string bstrExpression);
[<System.Runtime.InteropServices.DispId(16)>]
abstract member SetExpression : obj * string -> unit
Public Sub SetExpression (pObject As Object, bstrExpression As String)

Parameters

pObject
Object

The name of the object to which to assign the expression.

bstrExpression
String

The expression.

Attributes

Remarks

For more information, see DtsProperty.

Applies to