Enum DataExecutionState
数据执行状态
数据执行状态的枚举。
如需调用枚举,您可以调用其父类、名称和属性。例如
SpreadsheetApp.DataExecutionState.RUNNING
。
属性
属性 | 类型 | 说明 |
DATA_EXECUTION_STATE_UNSUPPORTED | Enum | Apps 脚本不支持数据执行状态。 |
RUNNING | Enum | 数据执行已开始并正在运行。 |
SUCCESS | Enum | 数据执行已完成且成功。 |
ERROR | Enum | 数据执行已完成,但存在错误。 |
NOT_STARTED | Enum | 数据执行尚未开始。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-03。
[null,null,["最后更新时间 (UTC):2024-12-03。"],[[["`DataExecutionState` is an enumeration used to represent the different states of a data execution within Google Apps Script."],["You can access the `DataExecutionState` enum's properties through `SpreadsheetApp.DataExecutionState`, followed by the specific property like `RUNNING` or `SUCCESS`."],["The available states include `DATA_EXECUTION_STATE_UNSUPPORTED`, `RUNNING`, `SUCCESS`, `ERROR`, and `NOT_STARTED`, each indicating a different phase or outcome of the data execution."]]],["The `DataExecutionState` enumeration defines five states for data execution: `DATA_EXECUTION_STATE_UNSUPPORTED` (not supported), `RUNNING` (in progress), `SUCCESS` (completed successfully), `ERROR` (completed with errors), and `NOT_STARTED` (hasn't begun). These states indicate the current status of a data execution process. The enum properties can be accessed by calling the parent class, name and property like `SpreadsheetApp.DataExecutionState.RUNNING`.\n"]]