Class UnattendedSettings
Typed configuration options for unattended settings.
Inheritance
Namespace: Umbraco.Cms.Core.Configuration.Models
Assembly: Umbraco.Core.dll
Syntax
public class UnattendedSettings
Properties
View SourceInstallUnattended
Gets or sets a value indicating whether unattended installs are enabled.
Declaration
public bool InstallUnattended { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
By default, when a database connection string is configured and it is possible to connect to
the database, but the database is empty, the runtime enters the Install
level.
If this option is set to true
an unattended install will be performed and the runtime enters
the Run
level.
PackageMigrationsUnattended
Gets or sets a value indicating whether unattended package migrations are enabled.
Declaration
public bool PackageMigrationsUnattended { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This is true by default.
UnattendedUserEmail
Gets or sets a value to use for creating a user with an email for Unattended Installs
Declaration
[EmailAddress]
public string UnattendedUserEmail { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UnattendedUserName
Gets or sets a value to use for creating a user with a name for Unattended Installs
Declaration
public string UnattendedUserName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UnattendedUserPassword
Gets or sets a value to use for creating a user with a password for Unattended Installs
Declaration
public string UnattendedUserPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UpgradeUnattended
Gets or sets a value indicating whether unattended upgrades are enabled.
Declaration
public bool UpgradeUnattended { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |