共用方式為


IDTSProperty90.SetExpression Method

This method supports the SQL Server 2005 infrastructure and is not intended to be used directly from your code.

For more information, see DtsProperty.

命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (in microsoft.sqlserver.dtsruntimewrap.dll)

語法

'宣告
<DispIdAttribute(16)> _
Sub SetExpression ( _
    <InAttribute> pObject As Object, _
    <InAttribute> bstrExpression As String _
)
[DispIdAttribute(16)] 
void SetExpression (
    [InAttribute] Object pObject,
    [InAttribute] string bstrExpression
)
[DispIdAttribute(16)] 
void SetExpression (
    [InAttribute] Object^ pObject, 
    [InAttribute] String^ bstrExpression
)
/** @attribute DispIdAttribute(16) */ 
void SetExpression (
    /** @attribute InAttribute() */ Object pObject, 
    /** @attribute InAttribute() */ String bstrExpression
)
DispIdAttribute(16) 
function SetExpression (
    pObject : Object, 
    bstrExpression : String
)

參數

  • pObject
  • bstrExpression

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

IDTSProperty90 Interface
IDTSProperty90 Members
Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace