Enum DataSourceRefreshScope
数据源刷新范围
刷新的镜重范围的枚举。
如需调用枚举,您可以调用其父类、名称和属性。例如
SpreadsheetApp.DataSourceRefreshScope.ALL_DATA_SOURCES
。
属性
属性 | 类型 | 说明 |
DATA_SOURCE_REFRESH_SCOPE_UNSUPPORTED | Enum | 不支持的数据源刷新范围。 |
ALL_DATA_SOURCES | Enum | 刷新会应用于电子表格中的所有数据源。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-02。
[null,null,["最后更新时间 (UTC):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"]]