Enum DataSourceRefreshScope
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
היקףרענוןמקורהנתונים
ספירה של היקפים לרענונים.
כדי לקרוא למאפיין enum, צריך לקרוא לכיתה ההורה, לשם ולנכס שלו. לדוגמה,
SpreadsheetApp.DataSourceRefreshScope.ALL_DATA_SOURCES
.
מאפיינים
נכס | סוג | תיאור |
DATA_SOURCE_REFRESH_SCOPE_UNSUPPORTED | Enum | אין תמיכה בהיקף הרענון של מקור הנתונים. |
ALL_DATA_SOURCES | Enum | הרענון חל על כל מקורות הנתונים בגיליון האלקטרוני. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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. |"]]