This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGFSReplicationAgent Interface > IGFSReplicationAgent.CreateReplica Method (ArcObjects .NET 10.4 SDK) |
Creates a replica pair and returns FeatureLayers.
[Visual Basic .NET] Public Sub CreateReplica ( _ ByVal srcGFS As IGraphicFeatureServer, _ ByVal destWorkspace As IWorkspace, _ ByVal replicaName As String, _ ByVal desc As IGFSReplicaDescription, _ ByVal repOptions As IGPReplicaOptions, _ ByVal layerFolder As String _ )
[C#] public void CreateReplica ( IGraphicFeatureServer srcGFS, IWorkspace destWorkspace, string replicaName, IGFSReplicaDescription desc, IGPReplicaOptions repOptions, string layerFolder );
[C++]
HRESULT CreateReplica(
IGraphicFeatureServer* srcGFS,
IWorkspace* destWorkspace,
BSTR replicaName,
IGFSReplicaDescription* desc,
IGPReplicaOptions* repOptions,
BSTR layerFolder
);
[C++]
Parameters srcGFS [in]
srcGFS is a parameter of type IGraphicFeatureServer destWorkspace [in]
destWorkspace is a parameter of type IWorkspace replicaName [in] replicaName is a parameter of type BSTR desc [in]
desc is a parameter of type IGFSReplicaDescription repOptions [in]
repOptions is a parameter of type IGPReplicaOptions layerFolder [in] layerFolder is a parameter of type BSTR