BackupDeviceItem Class

The BackupDeviceItem object provides programmatic access to named SQL Server backup devices.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Syntax

'Declaration
Public Class BackupDeviceItem _
    Implements IComparable
'Usage
Dim instance As BackupDeviceItem
public class BackupDeviceItem : IComparable
public ref class BackupDeviceItem : IComparable
type BackupDeviceItem =  
    class
        interface IComparable
    end
public class BackupDeviceItem implements IComparable

Remarks

With the BackupDeviceItem object, you can do the following:

  • Access the backup device by name.

  • Verify whether two named backup devices are the same.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.BackupDeviceItem

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.