Metoda IDTSEvents100.OnProgress
Ten interfejs API obsługuje infrastrukturę programu i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Aby uzyskać więcej informacji, zobacz temat IDTSEvents.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Runtime.Wrapper
Zestaw: Microsoft.SqlServer.DTSRuntimeWrap (w Microsoft.SqlServer.DTSRuntimeWrap.dll)
Składnia
'Deklaracja
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 _
)
'Użycie
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
)
Parametry
- pTaskHost
Typ: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSTaskHost100
- ProgressDescription
Typ: System.String
- PercentComplete
Typ: System.Int32
- ProgressCountLow
Typ: System.Int32
- ProgressCountHigh
Typ: System.Int32
- SubComponent
Typ: System.String
- pbFireAgain
Typ: System.Boolean%
Zobacz także