The DDRAddInteger function, in Configuration Manager, adds an integer property to the data discovery record (DDR).
[IDL] HRESULT DDRAddInteger();
- Name of the class property.
- Value assigned to the property.
- Characteristics of the property, such as identifying this
property as a key field for comparisons. Enter the following flag
or a zero.
ADDPROP_KEY (Hexadecimal 8)
Identifies this property as a key field during a comparison of this DDR with class instances in the database. If an instance in the database matches the data of the DDR key properties, the instance is updated; otherwise, a new instance is created.
If the function succeeds, the return value is S_OK.
If the DDRNew function has not been called, the return value is S_FALSE.
For more information, see Configuration Manager Server Runtime Requirements.
For more information, see Configuration Manager Server Development Requirements.