CMSApplication MembersKentico 8.0 API Reference
The CMSApplication type exposes the following members.
Constructors

  NameDescription
Public methodCMSApplication
Back to Top
Methods

  NameDescription
Public methodStatic memberApplicationEnd
Raises the application end event
Public methodStatic memberApplicationError
Raises the application error event
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
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.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStatic memberPostStart
Runs the application post start event in case it wasn't run already
Public methodStatic memberPreInit
Performs the application pre-initialization on the first request.
Public methodStatic memberReportApplicationError
Reports the application error
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to 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.
Protected fieldStatic membermApplicationInitialized
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.
Protected fieldStatic membermApplicationPreInitialized
If true, the application is pre-initialized
Protected fieldStatic membermApplicationStart
Date and time when the application started
Protected fieldStatic membermApplicationStartFinished
Date and time when the application start finished
Protected fieldStatic membermPostStartRaised
If true, the system executes first request after the system start
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.
Back to 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.
Back to Top
See Also