Enum DataExecutionState
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สถานะการเรียกใช้ข้อมูล
การแจกแจงสถานะการเรียกใช้ข้อมูล
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
SpreadsheetApp.DataExecutionState.RUNNING
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
DATA_EXECUTION_STATE_UNSUPPORTED | Enum | Apps Script ไม่รองรับสถานะการดําเนินการของข้อมูล |
RUNNING | Enum | การดำเนินการกับข้อมูลเริ่มต้นขึ้นและกำลังทำงาน |
SUCCESS | Enum | การดำเนินการกับข้อมูลเสร็จสมบูรณ์แล้ว |
ERROR | Enum | การดำเนินการกับข้อมูลเสร็จสมบูรณ์และมีข้อผิดพลาด |
NOT_STARTED | Enum | การดำเนินการกับข้อมูลยังไม่เริ่ม |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]