共用方式為


IDTSComponentMetaData100.FireProgress 方法

Raises an OnProgress event.

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

語法

'宣告
Sub FireProgress ( _
    bstrProgressDescription As String, _
    lPercentComplete As Integer, _
    lProgressCountLow As Integer, _
    lProgressCountHigh As Integer, _
    bstrSubComponent As String, _
    <OutAttribute> ByRef pbFireAgain As Boolean _
)
'用途
Dim instance As IDTSComponentMetaData100 
Dim bstrProgressDescription As String 
Dim lPercentComplete As Integer 
Dim lProgressCountLow As Integer 
Dim lProgressCountHigh As Integer 
Dim bstrSubComponent As String 
Dim pbFireAgain As Boolean

instance.FireProgress(bstrProgressDescription, _
    lPercentComplete, lProgressCountLow, _
    lProgressCountHigh, bstrSubComponent, _
    pbFireAgain)
void FireProgress(
    string bstrProgressDescription,
    int lPercentComplete,
    int lProgressCountLow,
    int lProgressCountHigh,
    string bstrSubComponent,
    out bool pbFireAgain
)
void FireProgress(
    [InAttribute] String^ bstrProgressDescription, 
    [InAttribute] int lPercentComplete, 
    [InAttribute] int lProgressCountLow, 
    [InAttribute] int lProgressCountHigh, 
    [InAttribute] String^ bstrSubComponent, 
    [InAttribute] [OutAttribute] bool% pbFireAgain
)
abstract FireProgress : 
        bstrProgressDescription:string * 
        lPercentComplete:int * 
        lProgressCountLow:int * 
        lProgressCountHigh:int * 
        bstrSubComponent:string * 
        pbFireAgain:bool byref -> unit
function FireProgress(
    bstrProgressDescription : String, 
    lPercentComplete : int, 
    lProgressCountLow : int, 
    lProgressCountHigh : int, 
    bstrSubComponent : String, 
    pbFireAgain : boolean
)

參數

  • bstrProgressDescription
    型別:System.String
    A description of the progress and status.
  • lPercentComplete
    型別:System.Int32
    The percentage of the task that has completed.
  • lProgressCountLow
    型別:System.Int32
    The low 32-bits of the units completed.
  • lProgressCountHigh
    型別:System.Int32
    The high 32-bits of the units completed.
  • bstrSubComponent
    型別:System.String
    The string that represents the name of the component that raises the event.
  • pbFireAgain
    型別:System.Boolean%
    true to raise the event again as task execution continues; otherwise, false.

請參閱

參考

IDTSComponentMetaData100 介面

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