Compartilhar via


Método IDTSEvents100.OnProgress

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Called to update progress about task execution.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (em Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxe

'Declaração
Sub OnProgress ( _
    pTaskHost As IDTSTaskHost100, _
    ProgressDescription As String, _
    PercentComplete As Integer, _
    ProgressCountLow As Integer, _
    ProgressCountHigh As Integer, _
    SubComponent As String, _
    <OutAttribute> ByRef pbFireAgain As Boolean _
)
'Uso
Dim instance As IDTSEvents100 
Dim pTaskHost As IDTSTaskHost100 
Dim ProgressDescription As String 
Dim PercentComplete As Integer 
Dim ProgressCountLow As Integer 
Dim ProgressCountHigh As Integer 
Dim SubComponent As String 
Dim pbFireAgain As Boolean

instance.OnProgress(pTaskHost, ProgressDescription, _
    PercentComplete, ProgressCountLow, _
    ProgressCountHigh, SubComponent, _
    pbFireAgain)
void OnProgress(
    IDTSTaskHost100 pTaskHost,
    string ProgressDescription,
    int PercentComplete,
    int ProgressCountLow,
    int ProgressCountHigh,
    string SubComponent,
    out bool pbFireAgain
)
void OnProgress(
    [InAttribute] IDTSTaskHost100^ pTaskHost, 
    [InAttribute] String^ ProgressDescription, 
    [InAttribute] int PercentComplete, 
    [InAttribute] int ProgressCountLow, 
    [InAttribute] int ProgressCountHigh, 
    [InAttribute] String^ SubComponent, 
    [InAttribute] [OutAttribute] bool% pbFireAgain
)
abstract OnProgress : 
        pTaskHost:IDTSTaskHost100 * 
        ProgressDescription:string * 
        PercentComplete:int * 
        ProgressCountLow:int * 
        ProgressCountHigh:int * 
        SubComponent:string * 
        pbFireAgain:bool byref -> unit
function OnProgress(
    pTaskHost : IDTSTaskHost100, 
    ProgressDescription : String, 
    PercentComplete : int, 
    ProgressCountLow : int, 
    ProgressCountHigh : int, 
    SubComponent : String, 
    pbFireAgain : boolean
)

Parâmetros

  • ProgressDescription
    Tipo: System.String
    A string that describes the progress event that is raised.
  • PercentComplete
    Tipo: System.Int32
    An integer used to indicate how much of the task has completed.
  • ProgressCountLow
    Tipo: System.Int32
    An integer that contains the low 32-bits of the units completed.
  • ProgressCountHigh
    Tipo: System.Int32
    An integer that contains the high 32-bits of the units completed.
  • SubComponent
    Tipo: System.String
    A string that contains more detail about the event source.
  • pbFireAgain
    Tipo: System.Boolean%
    A Boolean that indicates this should continue firing or stop firing. A value of true indicates that it should continue firing.

Comentários

For more information, see IDTSEvents.

Consulte também

Referência

IDTSEvents100 Interface

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper