Class CompatibilitySchema.Device
- Namespace
- LinqToDB.Tools.DataProvider.SqlServer.Schemas
- Assembly
- linq2db.Tools.dll
sys.sysdevices (Transact-SQL)
Applies to: √ SQL Server (all supported versions)
Contains one row for each disk backup file, tape backup file, and database file.
important
This SQL Server 2000 system table is included as a view for backward compatibility. We recommend that you use the current SQL Server system views instead. To find the equivalent system view or views, see Mapping System Tables to System Views (Transact-SQL). This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
See sys.sysdevices.
[Table(Schema = "sys", Name = "sysdevices", IsView = true)]
public class CompatibilitySchema.Device
- Inheritance
-
CompatibilitySchema.Device
- Extension Methods
Properties
ControllerType
Controller type:
0 = Non-CD-ROM database file
2 = Disk backup file
3 - 4 = Diskette backup file
5 = Tape backup file
6 = Named-pipe file
[Column("cntrltype")]
[Nullable]
public short? ControllerType { get; set; }
Property Value
High
Maintained for backward compatibility only.
[Column("high")]
[Nullable]
public int? High { get; set; }
Property Value
- int?
Low
Maintained for backward compatibility only.
[Column("low")]
[Nullable]
public int? Low { get; set; }
Property Value
- int?
Name
Logical name of the backup file or database file.
[Column("name")]
[NotNull]
public string Name { get; set; }
Property Value
PhysicalName
Name of the physical file.
[Column("phyname")]
[Nullable]
public string? PhysicalName { get; set; }
Property Value
Size
Size of the file in 2-kilobyte (KB) pages.
[Column("size")]
[Nullable]
public int? Size { get; set; }
Property Value
- int?
Status
Bitmap indicating the type of device:
1 = Default disk
2 = Physical disk
4 = Logical disk
8 = Skip header
16 = Backup file
32 = Serial writes
4096 = Read-only
[Column("status")]
[Nullable]
public short? Status { get; set; }