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
Solved! Go to Solution.
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.
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
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.