PackageRemote64Class.SetExpression 方法

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

Assigns the specified expression to the property.

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

參數

  • bstrPropertyName
    型別:System.String
    The name of the property to assign the expression to.

實作

IDTSPropertiesProvider100.SetExpression(String, String)

請參閱

參考

PackageRemote64Class 類別

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