Create Replica using ArcObject without iGeodataserver

2454
2
Jump to solution
10-11-2015 07:50 PM
sundaramoorthikrishnan
New Contributor II

Hi,

Can you please post some samples how to create replica using Arcobject wihtout iGeodataserver interface. i am trying to create a replica for versioned workspace.

thanks in Advance.

Sundar

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
sundaramoorthikrishnan
New Contributor II

Thanks For the infos. I am also found one more solution which is similar to the sample.

below is sample code.

ESRI.ArcGIS.DataManagementTools.CreateReplica objreplica = new ESRI.ArcGIS.DataManagementTools.CreateReplica();

set all the relevant values to the object.

Geoprocessor GP = new Geoprocessor();

GP.Execute(objreplica as IGPProcess, null);

Must set the workspace for the GP processor before executing.

View solution in original post

0 Kudos
2 Replies
FreddieGibson
Occasional Contributor III

Are you having a problem instantiating the GeoDataServer? If you don't want to use this approach you could leverage the gp tool.

Create Replica

http://desktop.arcgis.com/en/desktop/latest/tools/data-management-toolbox/create-replica.htm

0 Kudos
sundaramoorthikrishnan
New Contributor II

Thanks For the infos. I am also found one more solution which is similar to the sample.

below is sample code.

ESRI.ArcGIS.DataManagementTools.CreateReplica objreplica = new ESRI.ArcGIS.DataManagementTools.CreateReplica();

set all the relevant values to the object.

Geoprocessor GP = new Geoprocessor();

GP.Execute(objreplica as IGPProcess, null);

Must set the workspace for the GP processor before executing.

0 Kudos