• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Interface IApplicationStatusInfo

The Application Status Info, includes information about installation and database version.

Namespace: DotNetNuke.Abstractions.Application
Assembly: DotNetNuke.Abstractions.dll
Syntax
public interface IApplicationStatusInfo

Properties

| Improve this Doc View Source

ApplicationMapPath

Gets the application map path.

Declaration
string ApplicationMapPath { get; }
Property Value
Type Description
System.String

The application map path.

| Improve this Doc View Source

DatabaseVersion

Gets the database version.

Declaration
Version DatabaseVersion { get; }
Property Value
Type Description
Version
| Improve this Doc View Source

Status

Gets the status of application.

Declaration
UpgradeStatus Status { get; }
Property Value
Type Description
UpgradeStatus

Methods

| Improve this Doc View Source

GetLastAppliedIteration(Version)

Get the last applied iteration (revision) for a given version.

Declaration
int GetLastAppliedIteration(Version version)
Parameters
Type Name Description
Version version

The version to check.

Returns
Type Description
System.Int32

The last applied iteration (revision).

| Improve this Doc View Source

IncrementalVersionExists(Version)

Checks if incremental sqlDataProvider files exist.

Declaration
bool IncrementalVersionExists(Version version)
Parameters
Type Name Description
Version version

The version.

Returns
Type Description
System.Boolean

A value indicating whether any incremental sql script file exists.

Examples

If a 09.08.01.01.sqlDataProvider file exists for a provided version 09.08.01 this method will return true.

| Improve this Doc View Source

IsInstalled()

IsInstalled looks at various file artifacts to determine if DotNetNuke has already been installed.

Declaration
bool IsInstalled()
Returns
Type Description
System.Boolean

true if installed else false.

Remarks

If DotNetNuke has been installed, then we should treat database connection errors as real errors. If DotNetNuke has not been installed, then we should expect to have database connection problems since the connection string may not have been configured yet, which can occur during the installation wizard.

| Improve this Doc View Source

SetStatus(UpgradeStatus)

Sets the status.

Declaration
void SetStatus(UpgradeStatus status)
Parameters
Type Name Description
UpgradeStatus status

The status.

| Improve this Doc View Source

UpdateDatabaseVersion(Version)

Updates the database version.

Declaration
void UpdateDatabaseVersion(Version version)
Parameters
Type Name Description
Version version

The version.

| Improve this Doc View Source

UpdateDatabaseVersionIncrement(Version, Int32)

Updates the database version.

Declaration
void UpdateDatabaseVersionIncrement(Version version, int increment)
Parameters
Type Name Description
Version version

The version.

System.Int32 increment

The increment.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS