Autodesk 15607-010000-5000A Manuale Utente

Pagina di 180
MGMapLayerSetup Object
|
163
True – Indicates that the SQL statement was successfully added to the end of 
the list.
False – Indicates that the SQL statement was not added to the end of the list.
Error Codes
-1 (Busy)
clearPostSQLStatements Method
Syntax
boolean clearPostSQLStatements()
Description
Clears the list of post-SQL statements so that are not applied to the layer.
Post-SQL statements are executed after Autodesk MapGuide performs a 
spatial query. You can use them to further customize your query results. For 
more information about applying post-SQL statements to queries, see “Using 
SQL Pass-Through Statements” on page 55.
Parameters
none
Returns
boolean – Specifies whether or not the list of post-SQL statements has been 
successfully cleared.
True – Indicates that the list of post-SQL statement was successfully cleared.
False – Indicates that the list of SQL statement was not cleared.
Error Codes
-1 (Busy)
-5 (Security Violation)
-15 (Does not apply)