BackupSet-Klasse

Represents the backup set.

Vererbungshierarchie

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

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

Syntax

'Declaration
Public NotInheritable Class BackupSet
'Usage
Dim instance As BackupSet
public sealed class BackupSet
public ref class BackupSet sealed
[<SealedAttribute>]
type BackupSet =  class end
public final class BackupSet

Der BackupSet-Typ macht folgende Elemente verfügbar.

Eigenschaften

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

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)
Öffentliche Methode Verify Verifies the backup set.

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo-Namespace