Numerous questions...answers if you know them please, no guess work...
The above documentation states the following in the comments, which is incorrect, just saying:
The same page states: "When a query is too complex for a server, then you will get a NotSupportedException."
What defines a query that is too complex?
On the Search Query Syntax page (https://techsupport.osisoft.com/Documentation/PI-AF-SDK/Html/33f7ca86-dbca-4aea-951a-1fd72f8fb468.htm) I want to specify the Primary Referenced Element of an AF Event Frame based on a Template.
"ElementName" is supported by the AFEventFrameSearch but is that the Event Frame name (an Event Frame is an Element under the hood) or is that going to be the Primary Referenced Element name? I am too lazy busy to test extensively at this very moment in time.