BreakpointManager 类

Manages all the breakpoints that are set in on a task. This class cannot be inherited.

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime..::..BreakpointManager

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public NotInheritable Class BreakpointManager _
    Inherits DtsObject
用法
Dim instance As BreakpointManager
public sealed class BreakpointManager : DtsObject
public ref class BreakpointManager sealed : public DtsObject
[<SealedAttribute>]
type BreakpointManager =  
    class
        inherit DtsObject
    end
public final class BreakpointManager extends DtsObject

BreakpointManager 类型公开以下成员。

方法

  名称 说明
公共方法 ClearBreakpointTargets Removes all the breakpoints set in a task.
公共方法 CreateBreakpointTarget Creates a new breakpoint in the task with the specified breakpoint ID and description.
公共方法 Equals Determines whether two object instances are equal. (从 DtsObject 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetBreakpointTarget Returns the breakpoint object for a specific breakpoint ID.
公共方法 GetHashCode Returns the hash code for this instance. (从 DtsObject 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 IsBreakpointTargetEnabled A Boolean that indicates if the breakpoint is enabled.
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 RemoveBreakpointTarget Removes a previously created breakpoint from a task.
公共方法 ToString (从 Object 继承。)

页首

注释

Tasks create breakpoints by calling the CreateBreakpointTarget method of the BreakpointManager and providing an ID and description of the breakpoint as parameters to the method. When a task reaches the point in its code that contains the breakpoint, it evaluates the breakpoint to see if it should suspend execution. Execution is suspended if the IsBreakpointTargetEnabled is true. If true, the task notifies the run-time engine by raising the OnBreakpointHit event. For information about custom breakpoints, see 在自定义任务中添加对调试的支持.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。