Retrieving Diagnostic Partition Information
The HostDiagnosticSystem managed object allows you to retrieve information in several ways.
- Retrieve the HostDiagnosticPartition object from the HostDiagnosticSystem.activePartition property to examine the properties of the active partition.
- Call the HostDiagnosticPartition.QueryAvailablePartition method to retrieve a list of available diagnostic partitions, in order of suitability.
- Call the HostDiagnosticPartition.QueryPartitionCreateOptions method to retrieve a list of disks with sufficient space to contain a diagnostic partition of the specified type. The choices are returned in order of suitability.