API Reference
Class
Backup
Queries backup and recovery posture (VSS and System Restore metadata).
Inheritance
- Object
- Backup
Methods
public static BackupPostureInfo Get(String computerName = null) #Returns:
BackupPostureInfoGets backup and recovery posture for a local or remote computer.
Parameters
- computerName System.String = null
- Target computer; null/empty uses local machine.
Returns
Backup and recovery posture snapshot.
public static Task<BackupPostureInfo> GetAsync(String computerName = null, CancellationToken cancellationToken = null) #Returns:
Task<BackupPostureInfo>Asynchronously gets backup and recovery posture for a local or remote computer.
Parameters
- computerName System.String = null
- Target computer; null/empty uses local machine.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Returns
Backup and recovery posture snapshot.
public static IAsyncEnumerable<BackupPostureInfo> GetManyAsync(IEnumerable<String> computerNames, Int32 degreeOfParallelism = 4, CancellationToken cancellationToken = null) #Returns:
IAsyncEnumerable<BackupPostureInfo>Gets backup posture for multiple computers with bounded concurrency.
Parameters
- computerNames System.Collections.Generic.IEnumerable{System.String}
- Target computers.
- degreeOfParallelism System.Int32 = 4
- Maximum concurrency.
- cancellationToken System.Threading.CancellationToken = null
- Cancellation token.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object