共用方式為


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.

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Management.Smo 命名空間