Résumé
Synchronizes changes from a check-out replica in an ArcSDE, file, or personal geodatabase to the parent ArcSDE geodatabase.
Utilisation
You must have permission to edit the data you are synchronizing.
Once synchronized, the changes (edits) will be reflected in the parent geodatabase and are viewable by all users.
Syntaxe
arcpy.management.Checkin(in_workspace, dest_workspace, {reconcile})
Paramètre | Explication | Type de données |
in_workspace |
The child replica geodatabase. The workspace that contains the child replica. This can be an ArcSDE, file, or personal geodatabase. | Workspace |
dest_workspace | The parent replica geodatabase. The ArcSDE workspace to which changes will be applied. | Workspace |
reconcile (Facultatif) | Indicates whether the synchronization process should reconcile the synchronization version after the edits have been synchronized.
| Boolean |
Exemple de code
CheckIn Example (Python Window)
import arcpy
from arcpy import env
env.workspace = "C:/Data"
arcpy.gp.Checkin("MyCheckout.mdb", "MySDEdata.sde", "RECONCILE")
Environnements
Informations de licence
- Basic: Non
- Standard: Oui
- Advanced: Oui