Clear Job Replication Information (Workflow Manager)
サマリ
Deletes the replication information on a parent. The tool sends a web service call to the child and the cluster information is cleared from the Workflow Manager repository.
使用法
-
The replication information to be deleted must already exist when running this tool.
You can optionally specify the JTC file if the repository that you are sending the web service call to is not the default database.
構文
パラメータ | 説明 | データ タイプ |
input_repository_URL |
The URL for the Workflow Manager Server Object as defined on the server. For example, http://<YourServer>/arcgis/services/<ServerObjectName>/WMServer. | String |
input_databasepath (オプション) |
The Workflow Manager connection file for the database from which to delete the record. If no connection file is specified, the application will use the current default database. | File |
コードのサンプル
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_DatabasePath = arcpy.GetParameterAsText(0)
Input_Repository_URL = arcpy.GetParameterAsText(1)
# Process: Clear Job Replication Information
arcpy.ClearJobReplicationInfo_WMX(Input_Repository_URL, Input_DatabasePath)