Import Replica Schema (Data Management) (ArcInfo and ArcEditor only) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
Applies replica schema differences using an input replica geodatabase and XML schema file or geodatabase.
Learn more about synchronizing replica schemas
Learn more about schema changes
Usage tips
The following environment settings affect this tool: workspace, scratch workspace, and Configuration keyword.
Command line syntax
An overview of the Command Line window
ImportReplicaSchema_management <in_workspace> <in_source>
Parameter | Explanation | Data Type |
<in_workspace> |
Specifies the replica geodatabase that the replica schema will be imported to. The geodatabase may be local or remote. |
Workspace|GPComposite type |
<in_source> |
Specifies the file which contains the replica schema to import. |
File |
ImportReplicaSchema Countries.mdb d:\schema1.mdb
Scripting syntax
About getting started with writing geoprocessing scripts
ImportReplicaSchema_management (in_workspace, in_source)
Parameter | Explanation | Data Type |
in_workspace (Required) |
Specifies the replica geodatabase that the replica schema will be imported to. The geodatabase may be local or remote. |
Workspace|GPComposite type |
in_source (Required) |
Specifies the file which contains the replica schema to import. |
File |
# Create the Geoprocessor object import arcgisscripting, sys, scripting, os gp = arcgisscripting.create() # Set the necessary product code gp.SetProduct("ArcInfo") # Load required toolboxes... gp.AddToolbox("Data Management Tools.tbx") # Process: Import Replica Schema... gp.ImportReplicaSchema_management("Countries.mdb", "d:\schema1.mdb")