This document is archived and information here might be outdated. Recommended version. |
Creates new replica information.
[Visual Basic .NET] Public Function RegisterReplica ( _ ByVal Replica As IReplica _ ) As Integer
[C#] public int RegisterReplica ( IReplica Replica );
[C++]
HRESULT RegisterReplica(
IReplica* Replica
);
[C++] Parameters Replica [in]
Replica is a parameter of type IReplica*
The RegisterReplica method creates new metadata for a replica. This method does not create the check-out version or the SYNC version in ArcSDE geodatabases.
To register a new replica, you must first call the IReplicaEdit::Init to initialize a new replica from an existing one. This ensures that the new replica will have an appropriate ReplicaID and ReplicaGUID.