White Papers
46 Version 1.3.0
8 Methods
548
This section details the requirements for supporting intrinsic operations and extrinsic methods for the CIM
549
elements defined by this profile.
550
8.1 CIM_BIOSService.SetAttribute()
551
The SetAttribute( ) method is used to set or change the value of a BIOS attribute.
552
Invoking the SetAttribute() method shall change the value of the attribute’s CurrentValue or attribute’s
553
PendingValue property to the value specified by the AttributeValue parameter if the attribute’s
554
IsReadOnly property is FALSE. Invoking this method when the attribute’s IsReadOnly property is TRUE
555
shall result in no change to the value of the attribute’s CurrentValue property. The results of changing this
556
value are described with the SetResult parameter.
557
Return code values for the SetAttribute( ) method are specified in Table 38 and parameters are specified
558
in Table 39.
559
NOTE: Invoking the SetAttribute( ) method multiple times can result in the earlier requests being
560
overwritten or lost.
561
Table 38 – SetAttribute() Method: Return Code Values
562
Value
Description
0
Completed with no error
2
Failed
Table 39 – SetAttribute() Method: Parameters
563
Qualifiers
Name
Type
Description/Values
IN, REQ
Target
String
Shall be set to “BIOS.Setup.1-1”
IN, REQ
AttributeName
String
Shall contain the AttributeName property value for the
attribute to be modified.
IN, REQ
AttributeValue[]
String
Shall contain the desired attribute value.
If the value is valid, the CurrentValue or PendingValue
property of the specified attribute shall be modified.
OUT
SetResult
String
Returns:
"Set CurrentValue" when the attribute’s current
value is set.
“Set PendingValue” when the attribute’s pending
value is set.
OUT
RebootRequired
String
Returns:
“Yes” if reboot is required.
“No” if reboot is not required.
OUT
MessageID
String
Error MessageID
OUT
Message
String
Error Message
OUT
MessageArguments[]
String
Error MessageArguments