Microsoft.SqlServer.TransactSql.ScriptDom by Microsoft

<PackageReference Include="Microsoft.SqlServer.TransactSql.ScriptDom" Version="161.8901.0" />

.NET API 5,151,112 bytes

 DeviceInfo

public class DeviceInfo : TSqlFragment
Represents information about device used for backup or restore
public DeviceType DeviceType { get; set; }

Device kind in case of physical device.

Logical device name. Mutually exclusive with physical device name. Can be either Identifier or variable Literal

public ValueExpression PhysicalDevice { get; set; }

Physical device name. Mutually exclusive with logical device name.

public DeviceInfo()