Share via


EventHandlerClass.GetExpression Method

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

Returns the expression for the specified property or nulla null reference (Nothing in Visual Basic) if no expression is assigned.

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

Syntax

'Declaration
Public Overridable Function GetExpression ( _
    bstrPropertyName As String _
) As String
'Usage
Dim instance As EventHandlerClass 
Dim bstrPropertyName As String 
Dim returnValue As String 

returnValue = instance.GetExpression(bstrPropertyName)
public virtual string GetExpression(
    string bstrPropertyName
)
public:
virtual String^ GetExpression(
    [InAttribute] String^ bstrPropertyName
)
abstract GetExpression : 
        bstrPropertyName:string -> string  
override GetExpression : 
        bstrPropertyName:string -> string
public function GetExpression(
    bstrPropertyName : String
) : String

Parameters

  • bstrPropertyName
    Type: System.String
    The name of the property whose expression you want to see.

Return Value

Type: System.String
A String that contains the expression used to evaluate the property or nulla null reference (Nothing in Visual Basic) if no expression is assigned.

Implements

IDTSPropertiesProvider100.GetExpression(String)

See Also

Reference

EventHandlerClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace