Enum DataSourceRefreshScope
資料來源重新整理範圍重新整理範圍的列舉。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
SpreadsheetApp.DataSourceRefreshScope.ALL_DATA_SOURCES
。
屬性
屬性 | 類型 | 說明 |
DATA_SOURCE_REFRESH_SCOPE_UNSUPPORTED | Enum | 不支援資料來源重新整理範圍。 |
ALL_DATA_SOURCES | Enum | 重新整理作業會套用至試算表中的所有資料來源。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-02 (世界標準時間)。
[null,null,["上次更新時間:2024-12-02 (世界標準時間)。"],[[["`DataSourceRefreshScope` is used to define the scope of data refreshes within a spreadsheet."],["You can specify the scope using properties like `ALL_DATA_SOURCES` to refresh all data sources or `DATA_SOURCE_REFRESH_SCOPE_UNSUPPORTED` if the scope is not supported."],["To use these properties, you need to call them using the parent class followed by the enum name and property like `SpreadsheetApp.DataSourceRefreshScope.ALL_DATA_SOURCES`."]]],["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"]]