Available with Business Analyst license.
Summary
Deletes a specified Territory Solution.
Usage
The specified Territory Solution folder, as seen through the Business Analyst Project Explorer, will not be available to the Territory Solution.
Syntax
arcpy.td.DeleteTerritorySolution(in_territory_solution_layer)
Parameter | Explanation | Data Type |
in_territory_solution_layer | The Territory Solution layer to be deleted. | GP TD Layer |
Code sample
The following Python window script demonstrates how to use Business Analyst geoprocessing tool in immediate mode.
import arcgisscripting
gp = arcgisscripting.create()
gp.DeleteTerritorySolution_TD("new layer")
The following stand-alone script demonstrates how to use the tool.
# Import system modules
import arcgisscripting
gp = arcgisscripting.create()
# Set local variables
solution = "new layer"
# Execute tool
gp.DeleteTerritorySolution_TD(solution)
Environments
This tool does not use any geoprocessing environments.
Licensing information
- Basic: Requires Business Analyst
- Standard: Requires Business Analyst
- Advanced: Requires Business Analyst