Udostępnij przez


Metoda IDTSComponentEvents.FireProgress

Wywołuje zdarzenie po wymierny postęp przez plik wykonywalny.

Przestrzeń nazw:  Microsoft.SqlServer.Dts.Runtime
Zestaw:  Microsoft.SqlServer.ManagedDTS (w Microsoft.SqlServer.ManagedDTS.dll)

Składnia

'Deklaracja
Sub FireProgress ( _
    progressDescription As String, _
    percentComplete As Integer, _
    progressCountLow As Integer, _
    progressCountHigh As Integer, _
    subComponent As String, _
    ByRef fireAgain As Boolean _
)
'Użycie
Dim instance As IDTSComponentEvents
Dim progressDescription As String
Dim percentComplete As Integer
Dim progressCountLow As Integer
Dim progressCountHigh As Integer
Dim subComponent As String
Dim fireAgain As Boolean

instance.FireProgress(progressDescription, _
    percentComplete, progressCountLow, _
    progressCountHigh, subComponent, _
    fireAgain)
void FireProgress(
    string progressDescription,
    int percentComplete,
    int progressCountLow,
    int progressCountHigh,
    string subComponent,
    ref bool fireAgain
)
void FireProgress(
    String^ progressDescription, 
    int percentComplete, 
    int progressCountLow, 
    int progressCountHigh, 
    String^ subComponent, 
    bool% fireAgain
)
abstract FireProgress : 
        progressDescription:string * 
        percentComplete:int * 
        progressCountLow:int * 
        progressCountHigh:int * 
        subComponent:string * 
        fireAgain:bool byref -> unit 
function FireProgress(
    progressDescription : String, 
    percentComplete : int, 
    progressCountLow : int, 
    progressCountHigh : int, 
    subComponent : String, 
    fireAgain : boolean
)

Parametry

  • progressDescription
    Typ: System.String
    A ciąg , który opisuje zdarzenie progress, który jest uruchamiany.
  • percentComplete
    Typ: System.Int32
    Całkowitą używane do wskazywania, jaka część zadania została ukończona.
  • progressCountLow
    Typ: System.Int32
    Całkowitą zawierający młodsze 32 bity jednostek ukończone.
  • progressCountHigh
    Typ: System.Int32
    Całkowitą zawiera starsze 32 bity jednostek ukończone.
  • subComponent
    Typ: System.String
    A ciąg zawiera więcej szczegółów o źródło zdarzenia.
  • fireAgain
    Typ: System.Boolean%
    A wartość logiczna wskazuje, to należy kontynuować wypalania lub zatrzymać wypalania.Wartość true wskazuje, że należy kontynuować wypalania.

Uwagi

Ponieważ wypalania zdarzenie może być kosztowne, uruchom -czas silnika udostępnia mechanizm pomijanie zdarzenia, które nie są zainteresowani.Każde zdarzenie wyzwalania metoda ma FireAgain parametru.Jeśli wartość tej zmiennej jest false, po metoda zwraca, obiekt wywołujący nie zostanie wyzwolony to zdarzenie ponownie w czasie trwania bieżącego wykonywania.

Niektóre zdarzenie mają subComponent parametr, który umożliwia jeszcze większą ziarnistość w identyfikacji źródło zdarzenia.