Поделиться через


Класс BackupSet

Represents the backup set.

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public NotInheritable Class BackupSet
'Применение
Dim instance As BackupSet
public sealed class BackupSet
public ref class BackupSet sealed
[<SealedAttribute>]
type BackupSet =  class end
public final class BackupSet

Тип BackupSet обеспечивает доступ к следующим элементам.

Свойства

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

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый метод ToString (Производный от Object.)
Открытый метод Verify Verifies the backup set.

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Management.Smo