この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
タスクの実行の進行状況を更新するために呼び出されます。
名前空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
アセンブリ: Microsoft.SqlServer.DTSRuntimeWrap (Microsoft.SqlServer.DTSRuntimeWrap.dll)
構文
'宣言
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 _
)
'使用
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
)
パラメーター
- pTaskHost
型: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSTaskHost100
nullNULL 参照 (Visual Basic では Nothing) 値です。
- ProgressDescription
型: System.String
発生する進行状況イベントを説明する文字列です。
- PercentComplete
型: System.Int32
タスクがどれだけ完了したかを示すのに使用される整数です。
- ProgressCountLow
型: System.Int32
完了した単位の下位 32 ビットを含む整数です。
- ProgressCountHigh
型: System.Int32
完了した単位の上位 32 ビットを含む整数です。
- SubComponent
型: System.String
イベント ソースについての詳細を含む文字列です。
- pbFireAgain
型: System.Boolean%
起動処理を続行するか停止するかを示す Boolean です。 値が true の場合、起動処理が続行されます。
説明
詳細については、「IDTSEvents」を参照してください。