Aracılığıyla paylaş


IDTSEvents.OnProgress Yöntemi

Görev yürütme hakkında İlerleme güncelleştirmesi olarak adlandırılır.

Ad Alanı:  Microsoft.SqlServer.Dts.Runtime
Derleme:  Microsoft.SqlServer.ManagedDTS (Microsoft.SqlServer.ManagedDTS içinde.dll)

Sözdizimi

'Bildirim
Sub OnProgress ( _
    taskHost As TaskHost, _
    progressDescription As String, _
    percentComplete As Integer, _
    progressCountLow As Integer, _
    progressCountHigh As Integer, _
    subComponent As String, _
    ByRef fireAgain As Boolean _
)
'Kullanım
Dim instance As IDTSEvents
Dim taskHost As TaskHost
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.OnProgress(taskHost, progressDescription, _
    percentComplete, progressCountLow, _
    progressCountHigh, subComponent, _
    fireAgain)
void OnProgress(
    TaskHost taskHost,
    string progressDescription,
    int percentComplete,
    int progressCountLow,
    int progressCountHigh,
    string subComponent,
    ref bool fireAgain
)
void OnProgress(
    TaskHost^ taskHost, 
    String^ progressDescription, 
    int percentComplete, 
    int progressCountLow, 
    int progressCountHigh, 
    String^ subComponent, 
    bool% fireAgain
)
abstract OnProgress : 
        taskHost:TaskHost * 
        progressDescription:string * 
        percentComplete:int * 
        progressCountLow:int * 
        progressCountHigh:int * 
        subComponent:string * 
        fireAgain:bool byref -> unit 
function OnProgress(
    taskHost : TaskHost, 
    progressDescription : String, 
    percentComplete : int, 
    progressCountLow : int, 
    progressCountHigh : int, 
    subComponent : String, 
    fireAgain : boolean
)

Parametreler

  • progressDescription
    Tür: System.String
    Artırılıyor progress olay tanımlayan bir dize.
  • percentComplete
    Tür: System.Int32
    Görevin ne kadarının tamamlandığını belirtmek için kullanılan bir tamsayı.
  • progressCountLow
    Tür: System.Int32
    Düşük 32 bitlik tamamlandı birimlerini içeren bir tamsayı.
  • progressCountHigh
    Tür: System.Int32
    Yüksek 32 bitlik tamamlandı birimlerini içeren bir tamsayı.
  • subComponent
    Tür: System.String
    Olay kaynak hakkında daha fazla ayrıntı içeren bir dize.
  • fireAgain
    Tür: System.Boolean%
    A Boole bu ne Açmadığınızda devam etmek veya Açmadığınızda durdurmak gösterir.Değeri, doğru Açmadığınızda devam etmelidir gösterir.

Açıklamalar

Her saat adı verilen bir görev ölçülebilir ilerleme karşılaşır.Her görev, kendi gereksinimleri vardır, ancak genel bir kural, bir görevin yüzde 1'lik artışlarla ilerlemeyi raporlar.OnProgressGörev tarafından önceden belirlenen aralıklarla belirli bir görevin ilerleme durumu hakkında dinleme istemcileri güncelleştirme denir.