void setRebuild(boolean rebuild)
Changes the map layer's rebuild flag.
If the rebuild flag is set to True, the map layer will be rebuilt from its original data source the next time it is refreshed.
Note that only dynamic layers are rebuilt when the rebuild flag is set to True; static layers are not rebuilt when you refresh the layer. To rebuild a static map layer, set the rebuild flag to True and call the refresh method in MGMap.
If you set the rebuild flag to false, the method returns error code -15 ("does not apply") and does not rebuild the layer upon refresh.
Note that this method does not work during a busy state. For additional information about the busy state, refer to "Handling Busy State and Map Refresh" in the Autodesk MapGuide Developer's Guide.
rebuild - The new setting for the map layer's rebuild flag, either True or False.
-15 (does not apply)