共用方式為


SetExpression 方法

此 API 支援 .NET Framework 結構,但並不是針對直接從程式碼使用而設計。

For more information, see DtsProperty.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Sub SetExpression ( _
    pObject As Object, _
    bstrExpression As String _
)
'用途
Dim instance As IDTSProperty100
Dim pObject As Object
Dim bstrExpression As String

instance.SetExpression(pObject, bstrExpression)
void SetExpression(
    Object pObject,
    string bstrExpression
)
void SetExpression(
    [InAttribute] Object^ pObject, 
    [InAttribute] String^ bstrExpression
)
abstract SetExpression : 
        pObject:Object * 
        bstrExpression:string -> unit 
function SetExpression(
    pObject : Object, 
    bstrExpression : String
)

參數