Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Data Management toolbox > Distributed Geodatabase toolset > Tools

Import Replica Schema (Data Management) (ArcInfo and ArcEditor only)

Release 9.2
Last modified November 29, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

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

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
Data types for geoprocessing tool parameters


Command line example

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

Data types for geoprocessing tool parameters


Script example

# 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")

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.