Table of Contents

Class SqlServerLoggingProperties

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

Represents the server logging properties of a SQL instance. This only applies to on-premises SQL Server installations.

public class SqlServerLoggingProperties : BypassSection
Inheritance
SqlServerLoggingProperties
Inherited Members

Constructors

SqlServerLoggingProperties()

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

public SqlServerLoggingProperties()

Properties

MaximumLogFileCount

Gets or sets the maximum number of log files.

public int MaximumLogFileCount { get; set; }

Property Value

int

MaximumLogFileCountString

Gets the maximum number of log files as a human readable string.

public string MaximumLogFileCountString { get; set; }

Property Value

string

MaximumLogFileSize

Gets or sets the maximum size for log files in kilobytes. This only applies to SQL Server 2012 and above.

public int MaximumLogFileSize { get; set; }

Property Value

int

MaximumLogFileSizeString

Gets the maximum log file size as a human readable string. This only applies to SQL Server 2012 and above.

public string MaximumLogFileSizeString { get; set; }

Property Value

string

Methods

ToString()

Returns the logging properties as a human readable string.

public override string ToString()

Returns

string

The logging properties as a human readable string.