RunXQuery

<< Click to Display Table of Contents >>

 

RunXQuery

RunXQuery([RootObjectOrPath], [pvarOutErrors])

Executes the script indicated in the Script property and returns its result as a String in XML format. The optional parameter RootObjectOrPath indicates an object or a path to an object to start this Query. This object can be both local or remote, such as when using the GetObject method. If this parameter is omitted, this method uses the value indicated in the DefaultObjectPath property. The optional output parameter pvarOutErrors contains a String detailing the result of this execution. If this parameter is omitted and the execution fails, this method generates a script error.

Was this page useful?