Struct PointSelector
Which backup point an operation targets: the newest one, or one by its id. (Restore-to-LSN and restore-to-time come with #1418.)
public readonly struct PointSelector : IEquatable<PointSelector>
- Implements
- Inherited Members
Properties
BackupId
The selected id; 0 for Latest.
public uint BackupId { get; }
Property Value
IsLatest
Whether this selects the newest point.
public bool IsLatest { get; }
Property Value
Latest
The point with the highest id in the store.
public static PointSelector Latest { get; }
Property Value
Methods
ById(uint)
The point whose id is backupId.
public static PointSelector ById(uint backupId)
Parameters
backupIduintA point id (1 or more).
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
Equals(PointSelector)
public bool Equals(PointSelector other)
Parameters
otherPointSelector
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()