Résumé
Deletes the replication information on a parent repository and sends a web service call to all the child repositories in the cluster. Consequently, the replication information is cleared from all the repositories participating in the cluster.
Utilisation
The replication information to be deleted must exist when running this tool.
Syntaxe
ClearJobReplicationInfo_wmx (Input_Repository_URL, {Input_DatabasePath})
Paramètre | Explication | Type de données |
Input_Repository_URL | The URL for the Workflow Manager Server Object as defined on the server. For example, http://ServerName/arcgis/rest/services/ServerObjectName/WMServer. | String |
Input_DatabasePath (Facultatif) | The Workflow Manager connection file (.jtc) for the database from which to delete the replication information. If no connection file is specified, the current default Workflow Manager database is used. | File |
Exemple de code
ClearJobReplicationInfo example stand-alone Python script
Clear job replication information tool deletes the replication information on a parent.
# Import arcpy module
import arcpy
# Check out any necessary licenses
arcpy.CheckOutExtension("JTX")
# Script arguments
Input_Repository_URL = "http://ServerName/arcgis/rest/services/ServerObjectName/WMServer"
Input_DatabasePath = "C:\\Program Files\\WMX\\Database\\wmx.jtc"
# Process: Clear Job Replication Information
arcpy.ClearJobReplicationInfo_wmx(Input_Repository_URL, Input_DatabasePath)
Environnements
Cet outil n'utilise pas d'environnement de géotraitement.
Informations de licence
- ArcGIS Desktop Basic: Non
- ArcGIS Desktop Standard: Requiert Workflow Manager
- ArcGIS Desktop Advanced: Requiert Workflow Manager