Condividi tramite


BackupDeviceItem Class

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

Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintassi

'Dichiarazione
Public Class BackupDeviceItem
    Implements IComparable
public class BackupDeviceItem : IComparable
public ref class BackupDeviceItem : IComparable
public class BackupDeviceItem implements IComparable
public class BackupDeviceItem implements IComparable

Osservazioni

Testo aggiornato:

With the BackupDeviceItem object, you can do the following:

  • Access the backup device by name.

  • Verify whether two named backup devices are the same.

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Inheritance Hierarchy

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

Esempio

How to: Back Up Databases and Transaction Logs in Visual Basic .NET

Thread Safety

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

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

BackupDeviceItem Members
Microsoft.SqlServer.Management.Smo Namespace

Altre risorse

BACKUP (Transact-SQL)
Backup e ripristino di database in SQL Server