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
FileName
Gets or sets the name of the file.
public string FileName { get; set; }
Property Value
FileType
Gets or sets the type of file.
public SqlFileType FileType { get; set; }
Property Value
FileTypeString
Gets the type of file as a human readable string.
public string FileTypeString { get; set; }
Property Value
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
GrowthType
Gets or sets the growth type for the file.
public SqlFileGrowthType GrowthType { get; set; }
Property Value
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
IsSparse
Gets or sets whether the file is a sparse file.
public BooleanOption IsSparse { get; set; }
Property Value
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
Name
Gets or sets the name of the file.
public string Name { get; set; }
Property Value
Path
Gets or sets the absolute path in which the file resides.
public string Path { get; set; }
Property Value
Size
Gets or sets the size of the data file in MB.
public int Size { get; set; }
Property Value
Methods
CompareTo(SqlFile)
Compares two CENTREL.XIA.Configuration.Types.SqlFile objects to allow sorting alphabetically by name.
public int CompareTo(SqlFile other)
Parameters
other
SqlFileThe CENTREL.XIA.Configuration.Types.SqlFile to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.SqlFile objects.