Dela via


DtsProperty.GetExpression Method

Returns a String that contains the expression for the specified object. Null means no expression is assigned.

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

Syntax

'Declaration
Public Function GetExpression ( _
    o As Object _
) As String
'Usage
Dim instance As DtsProperty
Dim o As Object
Dim returnValue As String

returnValue = instance.GetExpression(o)
public string GetExpression(
    Object o
)
public:
String^ GetExpression(
    Object^ o
)
member GetExpression : 
        o:Object -> string 
public function GetExpression(
    o : Object
) : String

Parameters

  • o
    Type: System.Object
    The name of the object whose expression you want to see.

Return Value

Type: System.String
A String that contains the expression used to evaluate the property.