当前位置: 首页 > 网络学院 > 服务端脚本教程 > ADO > ADO FetchProgress 事件
The FetchProgress event is triggered periodically in an asynchronous operation, to state how many more records that have been fetched into the Recordset.
FetchProgress事件将在异步操作程序中被周期性的激发,作用是为了陈述被记录集获取的更多记录。
FetchProgress progress,maxprogress,status,objRs |
Parameter参数 | Description描述 |
---|---|
progress | The number of records that have been fetched by the operation |
maxprogress | The maximum number of records that are expected to be fetched |
status | An EventStatusEnum value that indicates the status of the execution of the event 指定一个EventStatusEnum值,用于指示事件执行的状态 |
objRs | The name of the Recordset object that triggered this event 指定激发该事件的记录集对象的名称 |
Constant常量 | Value值 | Description描述 |
---|---|---|
adStatusOK | 1 | The operation that caused the event was successful 激发事件操作成功 |
adStatusErrorsOccurred | 2 | The operation that caused the event failed 激发事件操作失败 |
adStatusCantDeny | 3 | The operation that caused the event cannot be cancelled 不可以取消正处于处理执行中的操作 |
adStatusCancel | 4 | The operation that caused the event is cancelled 取消激发事件的操作 |
adStatusUnwantedEvent | 5 | Prevents subsequent notifications before the event method has finished executing 在时间的运行方法终止运行之前禁止后续的报告 |