Class DatabaseInstallData
Represents the database configuration data provided during installation.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models.Installer
Assembly: Umbraco.Core.dll
Syntax
public class DatabaseInstallData
Constructors
View SourceDatabaseInstallData()
Declaration
public DatabaseInstallData()
Properties
View SourceConnectionString
Gets or sets the full connection string, if provided directly.
Declaration
public string? ConnectionString { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Id
Gets or sets the unique identifier of the selected database configuration.
Declaration
public Guid Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
Name
Gets or sets the database name.
Declaration
public string? Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Password
Gets or sets the database password for authentication.
Declaration
public string? Password { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProviderName
Gets or sets the database provider name.
Declaration
public string? ProviderName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Server
Gets or sets the database server address.
Declaration
public string? Server { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TrustServerCertificate
Gets or sets a value indicating whether to trust the server certificate.
Declaration
public bool TrustServerCertificate { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
UseIntegratedAuthentication
Gets or sets a value indicating whether to use integrated authentication.
Declaration
public bool UseIntegratedAuthentication { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Username
Gets or sets the database username for authentication.
Declaration
public string? Username { get; set; }
Property Value
| Type | Description |
|---|---|
| string |