Partager via


Classe BackupDeviceItem

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.SmoExtended (dans Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public Class BackupDeviceItem _
    Implements IComparable
'Utilisation
Dim instance As BackupDeviceItem
public class BackupDeviceItem : IComparable
public ref class BackupDeviceItem : IComparable
type BackupDeviceItem =  
    class
        interface IComparable
    end
public class BackupDeviceItem implements IComparable

Notes

With the BackupDeviceItem object, you can do the following:

  • Access the backup device by name.

  • Verify whether two named backup devices are the same.

Hiérarchie d'héritage

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

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.