Share via


PackageClass.GetExpression Method

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

Returns a value that contains the expression for the specified property.

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 PackageClass 
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 value that contains the expression used to evaluate the property.

Implements

IDTSPropertiesProvider100.GetExpression(String)

Remarks

For more information, see Package.

See Also

Reference

PackageClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace