次の方法で共有


IDTSComponentEvents.FireProgress Method

実行可能オブジェクトがある程度進行するとイベントを発生させます。

名前空間: 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 _
)
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
)
void FireProgress (
    String progressDescription, 
    int percentComplete, 
    int progressCountLow, 
    int progressCountHigh, 
    String subComponent, 
    /** @ref */ boolean fireAgain
)
JScript は、値と型の引数の参照渡しをサポートしていません。

パラメータ

  • progressDescription
    生成される進行状況イベントを説明する String です。
  • percentComplete
    タスクがどの程度完了したかを示す Integer です。
  • progressCountLow
    完了した単位の下位 32 ビットを含む Integer です。
  • progressCountHigh
    完了した単位の上位 32 ビットを含む Integer です。
  • subComponent
    イベント ソースについての詳細を含む String です。
  • fireAgain
    起動処理を続行するか停止するかを示す Boolean です。値が true の場合、起動処理が続行されます。

解説

イベントの起動は負荷が高くなる場合があるため、起動する必要がないイベントを抑制するメカニズムがランタイム エンジンに用意されています。イベントを起動するすべてのメソッドに FireAgain パラメータがあります。この変数の値が false である場合、メソッドが値を返した後に、呼び出し元は現在の実行時間中にこのイベントを再度起動することがなくなります。

いくつかのイベントには subComponent パラメータがあります。このパラメータを使用すると、より詳細なイベント ソースを指定できます。

スレッド セーフ

この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

IDTSComponentEvents Interface
IDTSComponentEvents Members
Microsoft.SqlServer.Dts.Runtime Namespace