Class IndexHealthProvider
- Namespace
- Dynamicweb.Updates.HealthProviders
- Assembly
- Dynamicweb.Core.dll
Verifies that every index a module expects to exist — either registered via AddIndex(string, UpdateProvider, string, string, string) or defined in a module's baseline DefaultEmpty.sql schema — actually exists on this installation's database, with the expected key and included columns.
[AddInName("Database indexes")]
[AddInIcon(KnownIcon.Stethoscope)]
public sealed class IndexHealthProvider : HealthProviderBase
- Inheritance
-
IndexHealthProvider
- Inherited Members
Methods
GetCheckList()
Gets list of the supported checks
public override IEnumerable<Check> GetCheckList()
Returns
- IEnumerable<Check>
A list of the supported checks
RunCheck(int)
Running a specified check
public override Check? RunCheck(int checkId)
Parameters
checkIdint
Returns
- Check
The check performed and the corresponding results