Enum DataSourceRefreshScope
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แหล่งข้อมูลการรีเฟรชขอบเขต
การแจกแจงขอบเขตสำหรับการรีเฟรช
หากต้องการเรียกใช้ enum ให้เรียกคลาสหลัก ชื่อ และพร็อพเพอร์ตี้ของ enum นั้น เช่น
SpreadsheetApp.DataSourceRefreshScope.ALL_DATA_SOURCES
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | ประเภท | คำอธิบาย |
DATA_SOURCE_REFRESH_SCOPE_UNSUPPORTED | Enum | ระบบไม่รองรับขอบเขตการรีเฟรชแหล่งข้อมูล |
ALL_DATA_SOURCES | Enum | การรีเฟรชจะมีผลกับแหล่งข้อมูลทั้งหมดในสเปรดชีต |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003e\u003ccode\u003eDataSourceRefreshScope\u003c/code\u003e is used to define the scope of data refreshes within a spreadsheet.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify the scope using properties like \u003ccode\u003eALL_DATA_SOURCES\u003c/code\u003e to refresh all data sources or \u003ccode\u003eDATA_SOURCE_REFRESH_SCOPE_UNSUPPORTED\u003c/code\u003e if the scope is not supported.\u003c/p\u003e\n"],["\u003cp\u003eTo use these properties, you need to call them using the parent class followed by the enum name and property like \u003ccode\u003eSpreadsheetApp.DataSourceRefreshScope.ALL_DATA_SOURCES\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `DataSourceRefreshScope` enumeration defines the scope of data refreshes within a spreadsheet. It includes two properties: `DATA_SOURCE_REFRESH_SCOPE_UNSUPPORTED`, indicating an unsupported refresh scope, and `ALL_DATA_SOURCES`, which signifies that the refresh will affect every data source in the spreadsheet. To use an enumeration property, you would call it using the `SpreadsheetApp.DataSourceRefreshScope` parent class, followed by the desired property name.\n"],null,["# Enum DataSourceRefreshScope\n\nDataSourceRefreshScope\n\nAn enumeration of scopes for refreshes.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.DataSourceRefreshScope.ALL_DATA_SOURCES`. \n\n### Properties\n\n| Property | Type | Description |\n|-----------------------------------------|--------|-------------------------------------------------------------|\n| `DATA_SOURCE_REFRESH_SCOPE_UNSUPPORTED` | `Enum` | The data source refresh scope is unsupported. |\n| `ALL_DATA_SOURCES` | `Enum` | The refresh applies to all data sources in the spreadsheet. |"]]