Enum DataSourceRefreshScope
DaneŹródłoOdświeżanieZakres
Wyliczenie zakresów odświeżania.
Aby wywołać enum, wywołaj jego klasę nadrzędną, nazwę i właściwość. Na przykład:
SpreadsheetApp.DataSourceRefreshScope.ALL_DATA_SOURCES
.
Właściwości
Właściwość | Typ | Opis |
DATA_SOURCE_REFRESH_SCOPE_UNSUPPORTED | Enum | Zakres odświeżania źródła danych nie jest obsługiwany. |
ALL_DATA_SOURCES | Enum | Odświeżenie dotyczy wszystkich źródeł danych w arkuszu kalkulacyjnym. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-12-02 UTC.
[null,null,["Ostatnia aktualizacja: 2024-12-02 UTC."],[[["`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"]]