EventsObjectWrapper.FireProgress メソッド
この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
実行可能オブジェクトがある程度進行するとイベントを発生させます。
名前空間: Microsoft.SqlServer.Dts.Tasks.ScriptTask
アセンブリ: Microsoft.SqlServer.ScriptTask (Microsoft.SqlServer.ScriptTask.dll)
構文
'宣言
Public Sub FireProgress ( _
progressDescription As String, _
percentComplete As Integer, _
progressCountLow As Integer, _
progressCountHigh As Integer, _
subComponent As String, _
ByRef fireAgain As Boolean _
)
'使用
Dim instance As EventsObjectWrapper
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)
public void FireProgress(
string progressDescription,
int percentComplete,
int progressCountLow,
int progressCountHigh,
string subComponent,
ref bool fireAgain
)
public:
void FireProgress(
String^ progressDescription,
int percentComplete,
int progressCountLow,
int progressCountHigh,
String^ subComponent,
bool% fireAgain
)
member FireProgress :
progressDescription:string *
percentComplete:int *
progressCountLow:int *
progressCountHigh:int *
subComponent:string *
fireAgain:bool byref -> unit
public function FireProgress(
progressDescription : String,
percentComplete : int,
progressCountLow : int,
progressCountHigh : int,
subComponent : String,
fireAgain : boolean
)
パラメーター
- progressDescription
型: System.String
発生する進行状況イベントを説明します。
- percentComplete
型: System.Int32
タスクがどれだけ完了したかを示すのに使用される Integer です。
- progressCountLow
型: System.Int32
完了した単位の下位 32 ビットを含む Integer です。
- progressCountHigh
型: System.Int32
完了した単位の上位 32 ビットを含む Integer です。
- subComponent
型: System.String
イベント ソースについての詳細を格納します。
- fireAgain
型: System.Boolean%
引き続き発生させる場合は true、それ以外の場合は false です。