IDTSComponentEvents100.FireProgress メソッド
この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
実行可能オブジェクトがある程度進行するとイベントを発生させます。
名前空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
アセンブリ: Microsoft.SqlServer.DTSRuntimeWrap (Microsoft.SqlServer.DTSRuntimeWrap.dll)
構文
'宣言
Sub FireProgress ( _
ProgressDescription As String, _
PercentComplete As Integer, _
ProgressCountLow As Integer, _
ProgressCountHigh As Integer, _
SubComponent As String, _
<OutAttribute> ByRef pbFireAgain As Boolean _
)
'使用
Dim instance As IDTSComponentEvents100
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.FireProgress(ProgressDescription, _
PercentComplete, ProgressCountLow, _
ProgressCountHigh, SubComponent, _
pbFireAgain)
void FireProgress(
string ProgressDescription,
int PercentComplete,
int ProgressCountLow,
int ProgressCountHigh,
string SubComponent,
out bool pbFireAgain
)
void FireProgress(
[InAttribute] String^ ProgressDescription,
[InAttribute] int PercentComplete,
[InAttribute] int ProgressCountLow,
[InAttribute] int ProgressCountHigh,
[InAttribute] String^ SubComponent,
[InAttribute] [OutAttribute] bool% pbFireAgain
)
abstract FireProgress :
ProgressDescription:string *
PercentComplete:int *
ProgressCountLow:int *
ProgressCountHigh:int *
SubComponent:string *
pbFireAgain:bool byref -> unit
function FireProgress(
ProgressDescription : String,
PercentComplete : int,
ProgressCountLow : int,
ProgressCountHigh : int,
SubComponent : String,
pbFireAgain : boolean
)
パラメーター
- ProgressDescription
型: System.String
発生する進行状況イベントを説明する String です。
- PercentComplete
型: System.Int32
タスクがどれだけ完了したかを示すのに使用される Integer です。
- ProgressCountLow
型: System.Int32
完了した単位の下位 32 ビットを含む Integer です。
- ProgressCountHigh
型: System.Int32
完了した単位の上位 32 ビットを含む Integer です。
- SubComponent
型: System.String
イベント ソースについての詳細を含む String です。
- pbFireAgain
型: System.Boolean%
このメソッドから制御が戻ったとき、イベントを引き続き発生させるかどうかを示す Boolean が格納されます。 値が true の場合、イベントが引き続き発生します。 値が false の場合、イベントはそれ以上発生しません。 このパラメーターは初期化せずに渡されます。