Retrieving Diagnostic Partition Information
The
HostDiagnosticSystem
managed object allows you to retrieve information in several ways.- Retrieve theHostDiagnosticPartitionobject from theHostDiagnosticSystem.activePartitionproperty to examine the properties of the active partition.
- Call theHostDiagnosticPartition.QueryAvailablePartitionmethod to retrieve a list of available diagnostic partitions, in order of suitability.
- Call theHostDiagnosticPartition.QueryPartitionCreateOptionsmethod 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.