Skip to main content
Version: v4 (Stable)

SetXMLRecord

SetXMLRecord(sXMLString As String[, Flags As Integer]) As Integer

Configures an Alert object and its attributes from an XML string.

The <sXMLString> parameter contains an XML string or the name of a file, depending on the value of the <Flags> parameter.

The optional <Flags> parameter (0 by default) specifies the following options:

  • &H80000000: The <sXMLString> parameter is the name of an XML file
  • &H40000000: Removes items that are not referenced in the string or XML file
  • &H08000000: Immediate backup of changed data

Returns an error code (0 if no error).