共用方式為


SetExpression 方法

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

For more information, see Package.

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

語法

'宣告
Public Overridable Sub SetExpression ( _
    bstrPropertyName As String, _
    bstrExpression As String _
)
'用途
Dim instance As PackageNeutralClass
Dim bstrPropertyName As String
Dim bstrExpression As String

instance.SetExpression(bstrPropertyName, _
    bstrExpression)
public virtual void SetExpression(
    string bstrPropertyName,
    string bstrExpression
)
public:
virtual void SetExpression(
    [InAttribute] String^ bstrPropertyName, 
    [InAttribute] String^ bstrExpression
)
abstract SetExpression : 
        bstrPropertyName:string * 
        bstrExpression:string -> unit 
override SetExpression : 
        bstrPropertyName:string * 
        bstrExpression:string -> unit 
public function SetExpression(
    bstrPropertyName : String, 
    bstrExpression : String
)

參數

實作

IDTSPropertiesProvider100. . :: . .SetExpression(String, String)