Click or drag to resize
SystemContext Properties

The SystemContext type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberApplicationPath
Web application path (e.g. /WebProject1)
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainerParentObjectType.)
Public propertyStatic memberDevelopmentMode
Development mode type.
Public propertyStatic memberInstanceName
Returns unique name of the instance, i.e. ServerName for multi-instance environments or MachineName with ApplicationPath in other cases.
Public propertyStatic memberIsCMSRunningAsMainApplication
Indicates whether hosting environment is CMS web-based application (is not running as a part of external application).
Public propertyIsDefault
Returns true if the context is the default request context
(Inherited from ContextContainerTParent.)
Public propertyStatic memberIsPrecompiledWebsite
Returns true if the website is precompiled (checks existence of codebehind file of PortalTemplate).
Public propertyStatic memberIsRunningOnAzure
Indicates whether current instance is an Azure Cloud Services deployment (is false for Azure Web Apps).
Public propertyStatic memberIsWebApplicationProject
Returns true if web application is installed (instead of web project).
Public propertyStatic memberIsWebSite
Indicates whether the application runs on a web server, or as part of some other tool (e.g. Console application).
Public propertyItem
Gets the value of particular property
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyKey
Unique container key
(Inherited from ContextContainerTParent.)
Public propertyStatic memberMachineName
Machine name.
Public propertyProperties
Properties available through the context.
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyPropertyList
Used property list
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyRegisteredColumns
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredColumnsObject
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredProperties
Registered properties
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyRegisteredPropertiesObject
Registered properties object
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyStatic memberServerName
Server name.
Protected propertyUseLocalColumns
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyUseLocalProperties
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyStatic memberUseWebApplicationConfiguration
Indicates if WebApplicationPhysicalPath property should be used to initialize the configuration manager.
Public propertyStatic memberWebApplicationPhysicalPath
Web application physical path. Trimmed backslash '\' at the end. E.g. c:\inetpub\wwwroot\MySite
Public propertyStatic memberWebApplicationVirtualPath
Returns the application virtual path.
Top
See Also