Class SqlWorkloadGroup
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a SQL workload group.
public class SqlWorkloadGroup : BaseTypeSection, IComparable<SqlWorkloadGroup>
- Inheritance
-
SqlWorkloadGroup
- Implements
Constructors
SqlWorkloadGroup()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlWorkloadGroup class.
public SqlWorkloadGroup()
Properties
Importance
Gets or sets the importance of the workload group.
public SqlWorkloadGroupImportance Importance { get; set; }
Property Value
ImportanceString
Gets the importance of the workload group.
public string ImportanceString { get; set; }
Property Value
IsSystemObject
Gets or sets whether the workload group is a system object.
public BooleanOption IsSystemObject { get; set; }
Property Value
MaximumCpuTime
Gets or sets the maximum CPU time in seconds.
public int MaximumCpuTime { get; set; }
Property Value
MaximumDegreeOfParallelism
Gets or sets the maximum degree of parallelism.
public int MaximumDegreeOfParallelism { get; set; }
Property Value
MaximumMemoryGrantPercentage
Gets or sets the maximum memory grant as a percentage.
public int MaximumMemoryGrantPercentage { get; set; }
Property Value
MaximumRequests
Gets or sets the maximum requests for the workload group.
public int MaximumRequests { get; set; }
Property Value
MemoryGrantTimeout
Gets or sets the memory grant timeout in seconds.
public int MemoryGrantTimeout { get; set; }
Property Value
Name
Gets or sets the name of the workload group.
public string Name { get; set; }
Property Value
Methods
Clone()
Returns a CENTREL.XIA.Configuration.Types.SqlWorkloadGroup cloned from this object.
public SqlWorkloadGroup Clone()
Returns
- SqlWorkloadGroup
A CENTREL.XIA.Configuration.Types.SqlWorkloadGroup.
CompareTo(SqlWorkloadGroup)
Compares two CENTREL.XIA.Configuration.Types.SqlWorkloadGroup objects to allow sorting alphabetically by name.
public int CompareTo(SqlWorkloadGroup other)
Parameters
other
SqlWorkloadGroupThe CENTREL.XIA.Configuration.Types.SqlWorkloadGroup to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.SqlWorkloadGroup objects.