White Papers

Version 1.1.0 31
8 Methods 396
This section details the requirements for supporting intrinsic operations and extrinsic methods for the CIM 397
elements defined by this profile. 398
8.1 CIM_BIOSService.SetAttribute() 399
The SetAttribute( ) method is used to set or change the value of a BIOS attribute. 400
Invocation of the SetAttribute( ) method shall change the value of the attribute’s CurrentValue or 401
attribute’s PendingValue property to the value specified by the AttributeValue parameter if the attribute’s 402
IsReadOnly property is FALSE. Invocation of this method when the attribute’s IsReadOnly property is 403
TRUE shall result in no change to the value of the attribute’s CurrentValue property. The results of 404
changing this value are described with the SetResult parameter. 405
Return code values for the SetAttribute( ) method are specified in Table 21 and parameters are specified 406
in Table 22.Invoking the SetAttribute() method multiple times can result in the earlier requests being 407
overwritten or lost. 408
Table 21 SetAttribute() Method: Return Code Values 409
Value
Description
0
Completed with no error
1
Not supported
2
Failed
Table 22 SetAttribute() Method: Parameters 410
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 will be modified.
OUT
SetResult
String
Returns:
"Set CurrentValue property" when the attributes current
value is set.
“Set PendingValue property” when the attributes 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
411