Description:
The SetInfo
method modifies the value of a system attribute.
This is a synchronous method.
Syntax:
result = so.ISysInfo.SetInfo(criteria);
Arguments:
criteria
:
This is an object that specifies the new value for the system attribute. For more information about the object properties and how to define them, see section Criteria for modifying a system attribute value.
Return value:
The SetInfo
method returns an error code and an
error message.
Property |
Description |
Value |
---|---|---|
|
This is a number that specifies a predefined error code. |
|
|
This is a text string that describes the error. |
Remarks:
Only some system attributes can be modified. To find out which system
attributes support SetInfo
, see section Supported system attributes (entities and keys).
Example code:
For the complete source of a sample widget that demonstrates how to use this Service API, see the full example.