ArcObjects Library Reference (GeoDatabase)  

IWorkspaceReplicasAdmin.UnregisterReplica Method

Removes replica information.

[Visual Basic .NET]
Public Sub UnregisterReplica ( _
    ByVal Replica As IReplica, _
    ByVal removeCOVersion As Boolean _
)
[C#]
public void UnregisterReplica (
    IReplica Replica,
    bool removeCOVersion
);
[C++]
HRESULT UnregisterReplica(
  IReplica* Replica,
  VARIANT_BOOL removeCOVersion
);
[C++]

Parameters

Replica [in]

  Replica is a parameter of type IReplica

removeCOVersion [in]   removeCOVersion is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

This method removes the replicas metadata from the geodatabase. If removeCOVersion is true, the checkout version and the SYNC version are also removed.

See Also

IWorkspaceReplicasAdmin Interface