Table of Contents

Class SqlFile

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

Represents the abstract class for SQL data and log files.

public abstract class SqlFile : GlobalSerializableClassicBase, IComparable<SqlFile>
Inheritance
SqlFile
Implements
Derived

Constructors

SqlFile()

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

public SqlFile()

Properties

AutoGrowthString

Gets the autogrowth for the file as a human readable string.

public string AutoGrowthString { get; set; }

Property Value

string

FileName

Gets or sets the name of the file.

public string FileName { get; set; }

Property Value

string

FileType

Gets or sets the type of file.

public SqlFileType FileType { get; set; }

Property Value

SqlFileType

FileTypeString

Gets the type of file as a human readable string.

public string FileTypeString { get; set; }

Property Value

string

Growth

Gets or sets the growth increment for the data file in KB or percent, depending on the "GrowthType" property.

public double Growth { get; set; }

Property Value

double

GrowthType

Gets or sets the growth type for the file.

public SqlFileGrowthType GrowthType { get; set; }

Property Value

SqlFileGrowthType

Identifier

Gets or sets the unique identifier for the file. This is used internally by XIA Configuration Server.

public Guid Identifier { get; set; }

Property Value

Guid

IsSparse

Gets or sets whether the file is a sparse file.

public BooleanOption IsSparse { get; set; }

Property Value

BooleanOption

MaxSize

Gets or sets the maximum size to which the data file can grow in MB. A value of zero indicates unlimited growth.

public int MaxSize { get; set; }

Property Value

int

Name

Gets or sets the name of the file.

public string Name { get; set; }

Property Value

string

Path

Gets or sets the absolute path in which the file resides.

public string Path { get; set; }

Property Value

string

Size

Gets or sets the size of the data file in MB.

public int Size { get; set; }

Property Value

int

Methods

CompareTo(SqlFile)

Compares two CENTREL.XIA.Configuration.Types.SqlFile objects to allow sorting alphabetically by name.

public int CompareTo(SqlFile other)

Parameters

other SqlFile

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

Returns

int

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