ArcObjects Library Reference (Carto)  

IGFSReplicationAgent.SynchronizeReplica Method

Synchronize a feature package replica with graphic feature server replica.

[Visual Basic .NET]
Public Sub SynchronizeReplica ( _
    ByVal trgGFS As IGraphicFeatureServer, _
    ByVal srcWorkspace As IWorkspace, _
    ByVal replicaName As String, _
    ByVal dir As esriReplicaSynchronizeDirection _
)
[C#]
public void SynchronizeReplica (
    IGraphicFeatureServer trgGFS,
    IWorkspace srcWorkspace,
    string replicaName,
    esriReplicaSynchronizeDirection dir
);
[C++]
HRESULT SynchronizeReplica(
  IGraphicFeatureServer* trgGFS,
  IWorkspace* srcWorkspace,
  BSTR replicaName,
  esriReplicaSynchronizeDirection dir
);
[C++]

Parameters

trgGFS [in]

  trgGFS is a parameter of type IGraphicFeatureServer

srcWorkspace [in]

  srcWorkspace is a parameter of type IWorkspace

replicaName [in]   replicaName is a parameter of type BSTR dir [in]

  dir is a parameter of type esriReplicaSynchronizeDirection

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGFSReplicationAgent Interface