White Papers

20 Version 1.5.0
8.1 DCIM_LCService.SetAttribute() 397
The SetAttribute( ) method is used to set or change the value of an LC attribute. 398
Invoking the SetAttribute( ) method shall change the value of the DCIM_LCAttribute.CurrentValue or 399
DCIM_LCAttribute.PendingValue property to the value specified by the AttributeValue parameter if the 400
DCIM_LCAttribute.IsReadOnly property is FALSE. Invoking this method when the 401
DCIM_LCAttribute.IsReadOnly property is TRUE shall result in no change to the value of the 402
DCIM_LCAttribute.CurrentValue property. The results of changing this value is described with the 403
SetResult parameter. 404
Return code values for the SetAttribute() method are specified in Table 10 and parameters are specified 405
in Table 11. 406
NOTE: Invoking the SetAttribute() method multiple times can result in the earlier requests being 407
overwritten or lost. 408
Table 10DCIM_LCService.SetAttribute() Method: Return Code Values 409
Value Description
0 Request was successfully executed.
2 Error occurred
Table 11DCIM_LCService.SetAttribute() Method: Parameters 410
Qualifiers Name Type Description/Values
IN, REQ
AttributeName string DCIM_LCAttribute.AttributeName
IN, REQ
AttributeValue[] string Pending or Current value to be set.
OUT SetResult string
Invoking the SetAttribute may result in the
CurrentValue or PendingValue property
being set.
A value of:
“Set CurrentValue” means
CurrentValue property is set.
Set PendingValue” means
PendingValue property is set.
OUT RebootRequired string A value of
“Yes” means a reboot is required
to set this value.
“No” means a reboot is not
required to set this value.
OUT MessageID string
Error Message ID may be used to look-up in
the Dell Message registry files. For more
information, see Error Message Registry.
OUT Message string
Error Message in English corresponding to
MessageID is returned if the method fails to
execute.
OUT MessageArguments[] string
Substitution variables for dynamic error
messages.
411