Share via


IDTSProperty100.SetExpression Method

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

Assigns the specified expression to the object.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Sub SetExpression ( _
    pObject As Object, _
    bstrExpression As String _
)
'Usage
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
)

Parameters

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

Remarks

For more information, see DtsProperty.

See Also

Reference

IDTSProperty100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace