Table of Contents

Class SqlAgent

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents the SQL server agent configuration for a SQL instance. This only applies to on-premises installations of SQL Server.

public class SqlAgent : BypassSection
Inheritance
SqlAgent
Inherited Members

Constructors

SqlAgent()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlAgent class.

public SqlAgent()

Properties

Alerts

Gets or sets the alerts configured for the SQL instance. This only applies to on-premises installations of SQL Server.

public SqlAlerts Alerts { get; set; }

Property Value

SqlAlerts

General

Gets or sets the general settings for the SQL server agent. This only applies to on-premises installations of SQL Server.

public SqlAgentGeneralSettings General { get; set; }

Property Value

SqlAgentGeneralSettings

Jobs

Gets or sets the jobs configured for the SQL instance. This only applies to on-premises installations of SQL Server.

public SqlJobs Jobs { get; set; }

Property Value

SqlJobs

Operators

Gets or sets the operators configured for the SQL instance. This only applies to on-premises installations of SQL Server.

public SqlOperators Operators { get; set; }

Property Value

SqlOperators

ProxyAccounts

Gets or sets the proxy accounts configured for the SQL instance. This only applies to on-premises installations of SQL Server.

public SqlProxyAccounts ProxyAccounts { get; set; }

Property Value

SqlProxyAccounts

Methods

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.SqlAgent class from the specified XML.

public static SqlAgent FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

SqlAgent

A CENTREL.XIA.Configuration.Types.SqlAgent class.

ToString()

Returns the SQL server agent configuration as a human readable string.

public override string ToString()

Returns

string

The SQL server agent configuration as a human readable string.