SyncKnowledge::FindMinTickCountForReplica Method

Finds the minimum tick count in the knowledge for the specified replica.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

public:
unsigned long long FindMinTickCountForReplica(
	SyncId^ replicaId
)

Parameters

replicaId
Type: Microsoft.Synchronization::SyncId
The ID of the replica to look up.

Return Value

Type: System::UInt64
The minimum tick count in the knowledge for the specified replica.

ExceptionCondition
InvalidOperationException

This SyncKnowledge object is not initialized.

ArgumentNullException

replicaId is a nullptr.

SyncIdFormatMismatchException

replicaId is not in the ID format specified for this knowledge object or has a different variable length setting.

Using this method can be expensive because it searches every clock vector that is associated with replicaId.

Show: