Partager via


Classe BackupSet

Represents the backup set.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Management.Smo.BackupSet

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

Syntaxe

'Déclaration
Public NotInheritable Class BackupSet
'Utilisation
Dim instance As BackupSet
public sealed class BackupSet
public ref class BackupSet sealed
[<SealedAttribute>]
type BackupSet =  class end
public final class BackupSet

Le type BackupSet expose les membres suivants.

Propriétés

  Nom Description
Propriété publique BackupFinishDate Gets the date and time the backup operation finished.
Propriété publique BackupMediaSet Gets the backup media set.
Propriété publique BackupSetGuid Gets the unique backup set identification number that identifies the backup set.
Propriété publique BackupSetType Gets the backup set type whose value can be Database, Differential, Log, FileOrFilegroup.
Propriété publique BackupSize Gets the size of the backup set, in bytes.
Propriété publique BackupStartDate Gets the date and time when the backup operation started.
Propriété publique BeginsLogChain Gets a value that indicates whether the backup set is the first in a continuous chain of log backups.
Propriété publique CheckpointLsn Gets the log sequence number of the log record where redo must start.
Propriété publique CompressedBackupSize Gets the total byte count of the backup stored on disk.
Propriété publique DatabaseBackupLsn Gets the log sequence number of the most recent full database backup.
Propriété publique DatabaseGuid Gets the unique ID of the database where the backup was taken.
Propriété publique DatabaseName Gets the name of the database involved in the backup operation.
Propriété publique Description Gets the description of the backup set.
Propriété publique DifferentialBaseGuid Gets the unique identifier of the differential base for a single-based differential backup.
Propriété publique DifferentialBaseLsn Gets the base log sequence number for differential backups.
Propriété publique ExpirationDate Gets the date and time the backup set expires.
Propriété publique FamilyGuid Unique ID of the original database at creation.
Propriété publique FirstLsn Gets the log sequence number of the first or oldest log record in the backup set.
Propriété publique FirstRecoveryForkID Gets the ID of the starting recovery fork.
Propriété publique ForkPointLsn Gets the log sequence number of the fork point, if FirstRecoveryForkID is not equal to last RecoveryForkID.
Propriété publique HasBulkLoggedData Gets a value that indicates whether the backup contains bulk-logged data.
Propriété publique HasIncompleteMetaData Gets a value that indicates whether the backup is a tail log backup with incomplete metadata.
Propriété publique IsCopyOnly Gets a value that indicates whether the backup set is copy-only.
Propriété publique IsDamaged Gets a value that indicates whether damage to the database was detected when this backup was created, and the backup operation was requested to continue despite errors.
Propriété publique IsForceOffline Gets a value that indicates whether the database was offline when the backup was taken.
Propriété publique IsReadOnly Gets a value that indicates whether the database was read-only at the time of backup.
Propriété publique IsSnapshot Gets a value that indicates whether the backup was taken using the SNAPSHOT option.
Propriété publique LastLsn Gets the log sequence number of the next log record after the backup set.
Propriété publique MachineName Gets the name of the computer where the backup was taken.
Propriété publique Name Gets name of the backup set.
Propriété publique Position Gets the backup set position used in the restore operation to locate the position of appropriate backup set in the file.
Propriété publique RecoveryForkID Gets the ID of the ending recovery fork.
Propriété publique ServerName Gets the name of the server where the backup was taken.
Propriété publique ServerVersion Gets the Microsoft SQL Server version where the backup was taken.
Propriété publique SoftwareVendorId Gets the identification number of the software vendor writing the backup media header.
Propriété publique UserName Gets the name of the user who performed the backup operation.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique ToString (hérité de Object.)
Méthode publique Verify Verifies the backup set.

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Management.Smo