API Reference
Class
BackupMetadataService
Retrieves system state backup metadata from replication metadata without requiring server-local privileges.
Inheritance
- Object
- BackupMetadataService
Methods
public static BackupMetadataSnapshot GetSnapshot(String domainName, Nullable<TimeSpan> maxAge = null, CancellationToken cancellationToken = null) #Returns:
BackupMetadataSnapshotCollects backup metadata for the specified domain synchronously.
Parameters
- domainName System.String
- Domain to query.
- maxAge System.Nullable{System.TimeSpan} = null
- Optional maximum age for stale detection.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
public static Task<BackupMetadataSnapshot> GetSnapshotAsync(String domainName, Nullable<TimeSpan> maxAge = null, CancellationToken cancellationToken = null) #Returns:
Task<BackupMetadataSnapshot>Collects backup metadata for the specified domain.
Parameters
- domainName System.String
- Domain to query.
- maxAge System.Nullable{System.TimeSpan} = null
- Optional maximum age for stale detection.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.