FireProgress メソッド
実行可能オブジェクトがある程度進行するとイベントを発生させます。
名前空間: Microsoft.SqlServer.Dts.Runtime
アセンブリ: Microsoft.SqlServer.ManagedDTS (Microsoft.SqlServer.ManagedDTS.dll)
構文
'宣言
Sub FireProgress ( _
progressDescription As String, _
percentComplete As Integer, _
progressCountLow As Integer, _
progressCountHigh As Integer, _
subComponent As String, _
ByRef fireAgain As Boolean _
)
'使用
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
)
パラメーター
- progressDescription
型: System. . :: . .String
生成される進行状況イベントを説明する String です。
- percentComplete
型: System. . :: . .Int32
タスクがどれだけ完了したかを示すのに使用される Integer です。
- progressCountLow
型: System. . :: . .Int32
完了した単位の下位 32 ビットを含む Integer です。
- progressCountHigh
型: System. . :: . .Int32
完了した単位の上位 32 ビットを含む Integer です。
- subComponent
型: System. . :: . .String
イベント ソースについての詳細を含む String です。
- fireAgain
型: System. . :: . .Boolean%
起動処理を続行するか停止するかを示す Boolean です。値が true の場合、起動処理が続行されます。
説明
イベントの起動は負荷が高くなる場合があるため、起動する必要がないイベントを抑制するメカニズムがランタイム エンジンに用意されています。すべてのイベント起動メソッドには FireAgain パラメータがあります。この変数の値が false である場合、メソッドが値を返した後に、呼び出し元は現在の実行時間中にこのイベントを再度起動することがなくなります。
いくつかのイベントには subComponent パラメータがあります。このパラメータを使用すると、より詳細なイベント ソースを指定できます。