SystemContext Properties |
The SystemContext type exposes the following members.
Name | Description | |
---|---|---|
ApplicationPath |
Web application path (e.g. /WebProject1)
| |
ApplicationPoolName |
Current application pool name
| |
ApplicationTerminating |
Returns true if the application is terminating
| |
ColumnNames |
Available column names.
(Inherited from AbstractDataContainerParentObjectType.) | |
CurrentTrustLevel |
Current trust level.
| |
DevelopmentMode |
Development mode type.
| |
IISWebSiteName |
Current IIS web site name
| |
InstanceName |
Returns unique name of the instance, i.e. ServerName for multi-instance environments or MachineName with ApplicationPath in other cases.
| |
IsCMSRunningAsMainApplication |
Indicates whether hosting environment is CMS web-based application (is not running as a part of external application).
| |
IsDefault |
Returns true if the context is the default request context
(Inherited from ContextContainerTParent.) | |
IsFullTrustLevel |
Indicates if is full trust level of code access security.
| |
IsIntegratedMode |
Returns true if the application runs in the integrated mode
| |
IsPrecompiledWebsite |
Returns true if the website is precompiled (checks existence of codebehind file of PortalTemplate).
| |
IsRunningOnAzure |
Returns whether current instance running on Azure.
| |
IsWebApplicationProject |
Returns true if web application is installed (instead of web project).
| |
IsWebSite |
Indicates whether the application runs on a web server, or as part of some other tool (e.g. Console application).
| |
Item |
Gets the value of particular property
(Inherited from AbstractHierarchicalObjectTObject.) | |
Key |
Unique container key
(Inherited from ContextContainerTParent.) | |
MachineName |
Machine name.
| |
Properties |
Properties available through the context.
(Inherited from AbstractHierarchicalObjectTObject.) | |
PropertyList |
Used property list
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredProperties |
Registered properties
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisteredPropertiesObject |
Registered properties object
(Inherited from AbstractHierarchicalObjectTObject.) | |
ServerName |
Server name.
| |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.) | |
UseWebApplicationConfiguration |
Indicates if WebApplicationPhysicalPath property should be used to initialize the configuration manager.
| |
WebApplicationPhysicalPath |
Web application physical path. Trimmed backslash '\' at the end. E.g. c:\inetpub\wwwroot\MySite
| |
WebApplicationVirtualPath |
Returns the application virtual path.
|