Class SqlResourcePool
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a SQL resource pool.
public class SqlResourcePool : BaseTypeSection, IComparable<SqlResourcePool>
- Inheritance
-
SqlResourcePool
- Implements
Constructors
SqlResourcePool()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlResourcePool class.
public SqlResourcePool()
Properties
IsSystemObject
Gets or sets whether the resource pool is a system object.
public BooleanOption IsSystemObject { get; set; }
Property Value
MaximumCpuPercentage
Gets or sets the maximum CPU percentage.
public int MaximumCpuPercentage { get; set; }
Property Value
MaximumMemoryPercentage
Gets or sets the maximum memory percentage.
public int MaximumMemoryPercentage { get; set; }
Property Value
MinimumCpuPercentage
Gets or sets the minimum CPU percentage.
public int MinimumCpuPercentage { get; set; }
Property Value
MinimumMemoryPercentage
Gets or sets the minimum memory percentage.
public int MinimumMemoryPercentage { get; set; }
Property Value
Name
Gets or sets the name of the resource pool.
public string Name { get; set; }
Property Value
WorkloadGroups
Gets or sets the workload groups configured for the resource pool.
public SqlWorkloadGroups WorkloadGroups { get; set; }
Property Value
Methods
Clone()
Returns a CENTREL.XIA.Configuration.Types.SqlResourcePool cloned from this object.
public SqlResourcePool Clone()
Returns
- SqlResourcePool
A CENTREL.XIA.Configuration.Types.SqlResourcePool.
CompareTo(SqlResourcePool)
Compares two CENTREL.XIA.Configuration.Types.SqlResourcePool objects to allow sorting alphabetically by name.
public int CompareTo(SqlResourcePool other)
Parameters
other
SqlResourcePoolThe CENTREL.XIA.Configuration.Types.SqlResourcePool to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.SqlResourcePool objects.