The code for this is located in this file, which is included in the customization source code examples available from customer support.
Source\SPF\Server Module Projects\Training\Components\OverrideExisting\APIs\ QueryAPIs.vb
The code for this is located in this file, which is included in the customization source code examples available from customer support.
Source\SPF\Server Module Projects\Training\Components\OverrideExisting\APIs\ QueryAPIs.vb