# Scope property by object type
The Scope property applies to the following object types:
 Scope property for page actions<devenv-scope-action-property>
 devenv-scope-table-property
 Enum objects
 Interface objects
The property is available for page actions and tables from runtime version 1.0. It's available for enum and interface objects from runtime version 14.0.
## Scope on enum and interface objects
For enum and interface objects, Scope controls whether the object can be used in extensions that target the cloud.
Value|Description
Cloud|The object can be used in extensions that target the cloud or on-premises. This value is the default.
OnPrem|The object can be used only in extensions that target on-premises deployments.
## Syntax
```al
Scope = OnPrem;
```
## Related information
../devenv-compilation-scope-overview
devenv-properties

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-scope-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-scope-property/
