Share via


BreakpointTarget.Expression Property

Gets or sets an expression to be evaluated to determine if the breakpoint should occur.

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

Syntax

'Declaration
Public Property Expression As String 
    Get 
    Set
'Usage
Dim instance As BreakpointTarget 
Dim value As String 

value = instance.Expression

instance.Expression = value
public string Expression { get; set; }
public:
property String^ Expression {
    String^ get ();
    void set (String^ value);
}
member Expression : string with get, set
function get Expression () : String 
function set Expression (value : String)

Property Value

Type: System.String
A String containing the expression to evaluate.

Examples

The following code example shows how to set the breakpoint expression to evaluate the value of a variable.

bp.Expression = "@v == 1";
bp.Expression = "@v == 1"

See Also

Reference

BreakpointTarget Class

Microsoft.SqlServer.Dts.Runtime Namespace