Table of Contents

Class SqlDatabaseChangeTracking

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

Represents the change tracking settings for a SQL database.

public class SqlDatabaseChangeTracking : BaseTypeSection
Inheritance
SqlDatabaseChangeTracking

Constructors

SqlDatabaseChangeTracking()

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

public SqlDatabaseChangeTracking()

Properties

AutoCleanUp

Gets or sets whether auto clean-up is enabled for change tracking.

public BooleanOption AutoCleanUp { get; set; }

Property Value

BooleanOption

ChangeTrackingEnabled

Gets or sets whether change tracking is enabled.

public BooleanOption ChangeTrackingEnabled { get; set; }

Property Value

BooleanOption

RetentionPeriod

Gets or sets the change tracking retention period.

public int RetentionPeriod { get; set; }

Property Value

int

RetentionPeriodUnits

Gets or sets the change tracking retention period units.

public SqlDatabaseRetentionPeriodUnits RetentionPeriodUnits { get; set; }

Property Value

SqlDatabaseRetentionPeriodUnits

Methods

FromXml(string)

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

public static SqlDatabaseChangeTracking FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

SqlDatabaseChangeTracking

A CENTREL.XIA.Configuration.Types.SqlDatabaseChangeTracking class.

ToString()

Returns the database change tracking as a human readable string.

public override string ToString()

Returns

string

The database change tracking as a human readable string.