Enum DataSourceRefreshScope
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
محدوده تجدید منبع داده شمارشی از حوزههای تازهسازی.
برای فراخوانی یک enum، کلاس والد، نام و ویژگی آن را فراخوانی می کنید. به عنوان مثال، SpreadsheetApp.DataSourceRefreshScope.ALL_DATA_SOURCES
.
خواص
اموال | تایپ کنید | توضیحات |
---|
DATA_SOURCE_REFRESH_SCOPE_UNSUPPORTED | Enum | محدوده تجدید منبع داده پشتیبانی نمی شود. |
ALL_DATA_SOURCES | Enum | تازه سازی برای همه منابع داده در صفحه گسترده اعمال می شود. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]