共用方式為


IDTSProperty100.SetExpression 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Assigns the specified expression to the object.

命名空間:  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
)

參數

  • pObject
    型別:System.Object
    The name of the object to which to assign the expression.

備註

For more information, see DtsProperty.

請參閱

參考

IDTSProperty100 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間