Class SqlAgentGeneralSettings
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the SQL server agent general configuration settings for a SQL instance. This only applies to on-premises installations of SQL Server.
public class SqlAgentGeneralSettings : BypassSection
- Inheritance
-
SqlAgentGeneralSettings
- Inherited Members
Constructors
SqlAgentGeneralSettings()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlAgentGeneralSettings class.
public SqlAgentGeneralSettings()
Properties
ErrorLogFile
Gets or sets the absolute path to the error log file.
public string ErrorLogFile { get; set; }
Property Value
ServiceAccount
Gets or sets the agent service account name.
public string ServiceAccount { get; set; }
Property Value
ServiceStartMode
Gets or sets the start mode of the agent service.
public SqlServiceStartMode ServiceStartMode { get; set; }
Property Value
ServiceStartModeString
Gets the start mode of the agent service.
public string ServiceStartModeString { get; set; }
Property Value
SqlAgentRestart
Gets or sets whether to auto restart SQL server agent if it stops unexpectedly.
public BooleanOption SqlAgentRestart { get; set; }
Property Value
SqlServerRestart
Gets or sets whether to auto restart SQL server if it stops unexpectedly.
public BooleanOption SqlServerRestart { get; set; }
Property Value
WriteOemErrorLog
Gets or sets whether to write the OEM error log.
public BooleanOption WriteOemErrorLog { get; set; }
Property Value
Methods
ToString()
Returns the SQL server agent general settings as a human readable string.
public override string ToString()
Returns
- string
The SQL server agent general as a human readable string.