共用方式為


PackageRemote32Class.GetBreakpointTargets 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Returns an IDTSBreakpointTargets100 collection. Depending on the setting of the onlyEnabled parameter, the collection contains all breakpoint targets in the package, or only enabled breakpoint targets.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Public Overridable Function GetBreakpointTargets ( _
    pBreakpointSite As IDTSBreakpointSite100, _
    onlyEnabled As Boolean _
) As IDTSBreakpointTargets100
'用途
Dim instance As PackageRemote32Class 
Dim pBreakpointSite As IDTSBreakpointSite100 
Dim onlyEnabled As Boolean 
Dim returnValue As IDTSBreakpointTargets100 

returnValue = instance.GetBreakpointTargets(pBreakpointSite, _
    onlyEnabled)
public virtual IDTSBreakpointTargets100 GetBreakpointTargets(
    IDTSBreakpointSite100 pBreakpointSite,
    bool onlyEnabled
)
public:
virtual IDTSBreakpointTargets100^ GetBreakpointTargets(
    [InAttribute] IDTSBreakpointSite100^ pBreakpointSite, 
    [InAttribute] bool onlyEnabled
)
abstract GetBreakpointTargets : 
        pBreakpointSite:IDTSBreakpointSite100 * 
        onlyEnabled:bool -> IDTSBreakpointTargets100  
override GetBreakpointTargets : 
        pBreakpointSite:IDTSBreakpointSite100 * 
        onlyEnabled:bool -> IDTSBreakpointTargets100
public function GetBreakpointTargets(
    pBreakpointSite : IDTSBreakpointSite100, 
    onlyEnabled : boolean
) : IDTSBreakpointTargets100

參數

  • onlyEnabled
    型別:System.Boolean
    true to indicate that only enabled breakpoints are included in the collection; false to indicate that all breakpoint targets are included in the collection.

傳回值

型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSBreakpointTargets100
An IDTSBreakpointTargets100 collection.

實作

IDTSPackage100.GetBreakpointTargets(IDTSBreakpointSite100, Boolean)

請參閱

參考

PackageRemote32Class 類別

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間