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 命名空间