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

Export 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

Creates a replica schema file with the schema of an input one or two-way replica.

Learn more about synchronizing replica schemas

Learn more about schema changes


Usage tips

Command line syntax
An overview of the Command Line window
ExportReplicaSchema_management <in_geodatabase> <output_replica_schema_file> <in_replica>

Parameter Explanation Data Type
<in_geodatabase>

Specifies the replica geodatabase from which to export the replica schema from. The geodatabase may be local or remote.

Workspace|GPComposite type
<output_replica_schema_file>

Specifies the file in which to export schema.

File
<in_replica>

The replica from which to export schema.

String
Data types for geoprocessing tool parameters


Command line example

ExportReplicaSchema Countries.mdb d:\schema1.mdb MyReplica1

Scripting syntax
About getting started with writing geoprocessing scripts
ExportReplicaSchema_management (in_geodatabase, output_replica_schema_file, in_replica)

Parameter Explanation Data Type
in_geodatabase (Required)

Specifies the replica geodatabase from which to export the replica schema from. The geodatabase may be local or remote.

Workspace|GPComposite type
output_replica_schema_file (Required)

Specifies the file in which to export schema.

File
in_replica (Required)

The replica from which to export schema.

String

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: Export Replica Schema...
gp.ExportReplicaSchema_management("Countries.mdb", "d:\schema1.mdb", "MyReplica1")

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