Table of Contents

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

SqlWorkloadGroupImportance

ImportanceString

Gets the importance of the workload group.

public string ImportanceString { get; set; }

Property Value

string

IsSystemObject

Gets or sets whether the workload group is a system object.

public BooleanOption IsSystemObject { get; set; }

Property Value

BooleanOption

MaximumCpuTime

Gets or sets the maximum CPU time in seconds.

public int MaximumCpuTime { get; set; }

Property Value

int

MaximumDegreeOfParallelism

Gets or sets the maximum degree of parallelism.

public int MaximumDegreeOfParallelism { get; set; }

Property Value

int

MaximumMemoryGrantPercentage

Gets or sets the maximum memory grant as a percentage.

public int MaximumMemoryGrantPercentage { get; set; }

Property Value

int

MaximumRequests

Gets or sets the maximum requests for the workload group.

public int MaximumRequests { get; set; }

Property Value

int

MemoryGrantTimeout

Gets or sets the memory grant timeout in seconds.

public int MemoryGrantTimeout { get; set; }

Property Value

int

Name

Gets or sets the name of the workload group.

public string Name { get; set; }

Property Value

string

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 SqlWorkloadGroup

The CENTREL.XIA.Configuration.Types.SqlWorkloadGroup to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.SqlWorkloadGroup objects.