Interface IDatabaseAvailabilityCheck
Checks if a configured database is available on boot.
Namespace: Umbraco.Cms.Infrastructure.Persistence
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IDatabaseAvailabilityCheck
Methods
View SourceIsDatabaseAvailable(IUmbracoDatabaseFactory)
Checks if the database is available for Umbraco to boot.
Declaration
bool IsDatabaseAvailable(IUmbracoDatabaseFactory databaseFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| IUmbracoDatabaseFactory | databaseFactory |
Returns
| Type | Description |
|---|---|
| bool | A value indicating whether the database is available. |