Click or drag to resize
CMSApplication Class
Base class for CMS Application
Inheritance Hierarchy
SystemObject
  CMS.DataEngineCMSApplication

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public class CMSApplication

The CMSApplication type exposes the following members.

Constructors
  NameDescription
Public methodCMSApplication
Top
Fields
  NameDescription
Public fieldStatic memberEnsureDefaultDBSchema
If true, the application ensures the default schema for the user upon its initialization. Use this setting for Windows authentication on DB server with automatic default schema.
Public fieldStatic memberWaitForDatabaseAvailable
If true, the process without the database available waits for the database instead of attempting to redirect to DB installation wizard. Use this for background applications such as services, that start automatically prior to the installation.
Top
Properties
  NameDescription
Public propertyStatic memberApplicationErrorMessage
Connection error message.
Public propertyStatic memberApplicationInitialized
Defines the state whether the application is initialized. If true, the application was initialized correctly. If false, the application was initialized with an error. If null, the initialization is to be done.
Public propertyStatic memberApplicationStart
Date and time of the application start.
Public propertyStatic memberApplicationStartFinished
Date and time when the application start (initialization) finished its execution.
Top
Methods
  NameDescription
Public methodStatic memberApplicationEnd
Raises the application end event to properly end the application
Public methodStatic memberApplicationError
Raises the application error event
Public methodStatic memberGetVaryByCustomString
Returns the
Public methodStatic memberInit
Performs the application initialization on the first request.
Public methodStatic memberInstallRedirect
Redirects user to the installation page if connectionString not set.
Public methodStatic memberPostStart
Runs the application post start event in case it wasn't run already
Public methodStatic memberPreInit
Performs the application pre-initialization.
Top
See Also