# Class CIM_DiagnosticSettingRecord
extends CIM_DiagnosticRecord

A snapshot of the properties in the DiagnosticSetting instance that was used when the Diagnostic was run.

### Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods

## Class Hierarchy

CIM_ManagedElement
|
+--CIM_RecordForLog
|
+--CIM_DiagnosticRecord
|
+--CIM_DiagnosticSettingRecord

## Direct Known Subclasses

## Class Qualifiers

Name | Data Type | Value
--- | --- | ---
Description | string | A snapshot of the properties in the DiagnosticSetting instance that was used when the Diagnostic was run.
UMLPackagePath | string | CIM::System::Diagnostics
Version | string | 2.11.0

## Class Properties

### Local Class Properties

Name | Data Type | Default Value | Qualifiers
--- | --- | --- | ---
Name | Data Type | Value
HaltOnError | boolean |
Description | string | When this flag is true, the test will halt after finding the first error.
PercentOfTestCoverage | uint8 |
Description | string | The requested percentage of coverage for the diagnostic service. For example, a hard drive scan test could be asked to run at 50%. Permissible values for this property range from 0 to 100.
MaxValue | sint64 | 100
MinValue | sint64 | 0
Units | string | Percent
QuickMode | boolean |
Description | string | When this flag is true, the test software should attempt to run in an accelerated fashion either by reducing the coverage or number of tests performed.
ResultPersistence | uint32 |
Description | string | The desired length of time to persist the messages that result from execution of a diagnostic service. Here is a summary of the choices and behaviors for different ResultPersistence values: 0 = "No Persistence": Setting the timer to zero tells the provider not to persist the diagnostic result. The diagnostic information is only available while the diagnostic is executing or at its conclusion. Value > 0 and < 0xFFFFFFFF = "Persist With TimeOut": Setting the ResultPersistenceOption to a integer will cause the DiagnosticResult to be persisted for that number of seconds. At the end of that time, the DiagnosticResult may be deleted by the diagnostic service provider. 0xFFFFFFFF = "Persist Forever": By setting the timeout value to the very large value, 0xFFFFFFFF, the provider shall persist results forever. In this case, the client MUST bear the responsibility for deleting them.
Units | string | Seconds
LogOptions | uint16[] |
ArrayType | string | Indexed
Description | string | The LogOptions property lists the log options that were requested for the Diagnostic Service. A brief summary of the various log options can be found in CIM_DiagnosticSetting.LogOptions.
ValueMap | string | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 0x8000
Values | string | Unknown, Other, Results, Subtests, Actions, Warnings, Status, Device Errors, Service Errors, Setting Data, Statistics, Hardware Configuration, Software Configuration, References, Debug, No Log Options
LogStorage | uint16[] |
ArrayType | string | Indexed
Description | string | The LogStorage setting property indicates which types of supported storage should be used by the Diagnostic Service for logging of the data specified in LogOptions. The values are: "DiagnosticRecordLog" (Value = 2): Use the DiagnosticRecordLog and DiagnosticRecord classes. "MessageLog" (Value = 4): Use the MessageLog class and its methods. "File" (Value = 5): Write data to a file.
ValueMap | string | 0, 1, 2, 3, 4
Values | string | Unknown, Other, DiagnosticRecordLog, MessageLog, File
LoopControl | uint16[] |
ArrayType | string | Indexed
Description | string | LoopControl, used in conjunction with LoopControlParameter, sets one or more loop control mechanisms that limits the number of times a test should be repeated with a single invocation of RunTest by a CIM client. There is an array-positional correspondence between LoopControl entries & LoopControlParameter entries. The entries in these coupled arrays of loop controls can be used in a logical OR fashion to achieve the desired loop control. For example, if a client wants to loop a test 1000 times, but quit if a timer runs out, it could set both controls into the LoopControl array as two separate entries in each array. The looping test will terminate when the first of the two Ored conditions are met. A brief description for each loop control can be found in the description of DiagnosticSetting.LoopControl.
ValueMap | string | 0, 1, 2, 3, 4, 5
Values | string | Unknown, Other, Continuous, Count, Timer, Error Count
LoopControlParameter | string[] |
ArrayType | string | Indexed
Description | string | Array entries contain parameters corresponding to entries in the LoopControl array, limiting the number of times a test should be repeated with a single invocation of RunTest by a CIM client.
OtherLogOptionsDescriptions | string[] |
Description | string | Provides additional information regarding the types of test messages that are logged when the property LogOptions includes the value 1 ("Other").
OtherLogStorageDescriptions | string[] |
ArrayType | string | Indexed
Description | string | This property provides additional information for LogStorage when the corresponding value is set to 1 ("Other").
OtherLoopControlDescriptions | string[] |
ArrayType | string | Indexed
Description | string | Provides additional information for LoopControl when its value is set to 1 ('Other').
VerbosityLevel | uint16[] |
ArrayType | string | Indexed
Description | string | A client may want to specify the volume or detail of information logged by a diagnostic service. This metric is applied to a corresponding logging option, acting as a qualifier on its description. Three levels of verbosity are defined as follows: * "Minimum" (value=2): Specified if the least amount of information is desired; for example, Pass or Fail. * "Standard" (value=3): This is the standard level of messaging provided by the service. It is the form most likely to be used if no verbosity value is specified (default). * "Full" (value=4): Specified when all information, regardless of size, is desired. Verbosity may not apply to all LogOptions values, in which case the default VerbosityLevel of "Standard" SHOULD be used.
ValueMap | string | 2, 3, 4
Values | string | Minimum, Standard, Full

### Inherited Properties

Name | Data Type | Class Origin
--- | --- | ---
Caption | string | CIM_ManagedElement
CreationTimeStamp | datetime | CIM_DiagnosticRecord
Description | string | CIM_ManagedElement
ElementName | string | CIM_ManagedElement
ExpirationDate | datetime | CIM_DiagnosticRecord
InstanceID | string | CIM_DiagnosticRecord
Locale | string | CIM_RecordForLog
ManagedElementName | string | CIM_DiagnosticRecord
OtherRecordTypeDescription | string | CIM_DiagnosticRecord
PerceivedSeverity | uint16 | CIM_RecordForLog
RecordData | string | CIM_RecordForLog
RecordFormat | string | CIM_RecordForLog
RecordType | uint16 | CIM_DiagnosticRecord
ServiceName | string | CIM_DiagnosticRecord

## Class Methods