Class DataQuotas
Provides the storage quotas for the data stored in the database.
Inheritance
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Data
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class DataQuotas : IValidator
Constructors
DataQuotas()
Initializes new instance with default values.
Declaration
public DataQuotas()
Properties
ActivitiesDays
Gets or sets the number of days to keep system activity history.
Declaration
public int ActivitiesDays { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
AlertsDays
Gets or sets the number of days to keep alert history.
Declaration
public int AlertsDays { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ChangesMonths
Gets or sets the number of months to keep change auditing history.
Declaration
public int ChangesMonths { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DaysBasedMetricsYears
Gets or sets the number of years to keep Service Agreement readings and violations defined with the days-based time interval.
Declaration
public int DaysBasedMetricsYears { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ErrorMessage
Gets validation error messages.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
HoursBasedMetricsMonths
Gets or sets the number of months to keep Service Agreement readings and violations defined with the hours-based time interval.
Declaration
public int HoursBasedMetricsMonths { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MinutesBasedMetricsDays
Gets or sets the number of days to keep Service Agreement readings and violations defined with the minutes-based time interval.
Declaration
public int MinutesBasedMetricsDays { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RecordsDays
Gets or sets the number of days to keep recorded messages.
Declaration
public int RecordsDays { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SecondsBasedMetricsDays
Gets or sets the number of days to keep Service Agreement readings and violations defined with the seconds-based time interval.
Declaration
public int SecondsBasedMetricsDays { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TransactionsDays
Gets or sets the number of days to keep monitoring transaction history.
Declaration
public int TransactionsDays { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Validate()
Validates the instance and returns True, if it is correctly populated, or False, if it is not.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True, if instance state is valid, False, otherwise. |