Enum DataExecutionState
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trạng tháithực thidữ liệu
Liệt kê các trạng thái thực thi dữ liệu.
Để gọi một enum, bạn gọi lớp mẹ, tên và thuộc tính của enum đó. Ví dụ:
SpreadsheetApp.DataExecutionState.RUNNING
.
Thuộc tính
Thuộc tính | Loại | Mô tả |
DATA_EXECUTION_STATE_UNSUPPORTED | Enum | Trạng thái thực thi dữ liệu không được hỗ trợ trong Apps Script. |
RUNNING | Enum | Quá trình thực thi dữ liệu đã bắt đầu và đang chạy. |
SUCCESS | Enum | Quá trình thực thi dữ liệu đã hoàn tất và thành công. |
ERROR | Enum | Quá trình thực thi dữ liệu đã hoàn tất và có lỗi. |
NOT_STARTED | Enum | Chưa bắt đầu thực thi dữ liệu. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eDataExecutionState\u003c/code\u003e is an enumeration used to represent the different states of a data execution within Google Apps Script.\u003c/p\u003e\n"],["\u003cp\u003eYou can access the \u003ccode\u003eDataExecutionState\u003c/code\u003e enum's properties through \u003ccode\u003eSpreadsheetApp.DataExecutionState\u003c/code\u003e, followed by the specific property like \u003ccode\u003eRUNNING\u003c/code\u003e or \u003ccode\u003eSUCCESS\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe available states include \u003ccode\u003eDATA_EXECUTION_STATE_UNSUPPORTED\u003c/code\u003e, \u003ccode\u003eRUNNING\u003c/code\u003e, \u003ccode\u003eSUCCESS\u003c/code\u003e, \u003ccode\u003eERROR\u003c/code\u003e, and \u003ccode\u003eNOT_STARTED\u003c/code\u003e, each indicating a different phase or outcome of the data execution.\u003c/p\u003e\n"]]],["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"],null,["# Enum DataExecutionState\n\nDataExecutionState\n\nAn enumeration of data execution states.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.DataExecutionState.RUNNING`. \n\n### Properties\n\n| Property | Type | Description |\n|------------------------------------|--------|---------------------------------------------------------|\n| `DATA_EXECUTION_STATE_UNSUPPORTED` | `Enum` | A data execution state is not supported in Apps Script. |\n| `RUNNING` | `Enum` | The data execution has started and is running. |\n| `SUCCESS` | `Enum` | The data execution is completed and successful. |\n| `ERROR` | `Enum` | The data execution is completed and has errors. |\n| `NOT_STARTED` | `Enum` | The data execution has not started. |"]]