BreakpointTarget.Expression 属性
Gets or sets an expression to be evaluated to determine if the breakpoint should occur.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public Property Expression As String
Get
Set
用法
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)
属性值
类型:System.String
A String containing the expression to evaluate.
示例
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"