This function retrieves the type, whether node or element, of a descriptive label.
GetLabelTypeForLabel (string DatabaseName, string Label)
DatabaseName (character string). The full path name to the relevant database.
Label (string). The relevant node/element label.
1 (for a node)
2 (for an element)
-9999998 (if the specified database is invalid)
-9999999 (if the specified label cannot be found)