ReplicaKeyMap::FindOrAddReplicaKey Method
Adds entries to or finds entries in the replica key map.
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Parameters
- replicaId
- Type: Microsoft.Synchronization::SyncId
The ID of the replica to add or find.
Return Value
Type: System::UInt32The key of the replica in the map. If an entry for replicaId does not exist in the map, an entry is created and a new key is assigned to it.
| Exception | Condition |
|---|---|
| SyncIdFormatMismatchException | replicaId is not of the format that the provider specified. |
Show: