SyncKnowledge.MapRemoteKnowledgeToLocal Method

Converts a knowledge object from another replica into one that is compatible with the replica that owns this knowledge.

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

Syntax

'Declaration
Public Function MapRemoteKnowledgeToLocal ( _
    remoteKnowledge As SyncKnowledge _
) As SyncKnowledge
'Usage
Dim instance As SyncKnowledge
Dim remoteKnowledge As SyncKnowledge
Dim returnValue As SyncKnowledge

returnValue = instance.MapRemoteKnowledgeToLocal(remoteKnowledge)
public SyncKnowledge MapRemoteKnowledgeToLocal(
    SyncKnowledge remoteKnowledge
)
public:
SyncKnowledge^ MapRemoteKnowledgeToLocal(
    SyncKnowledge^ remoteKnowledge
)
member MapRemoteKnowledgeToLocal : 
        remoteKnowledge:SyncKnowledge -> SyncKnowledge 
public function MapRemoteKnowledgeToLocal(
    remoteKnowledge : SyncKnowledge
) : SyncKnowledge

Parameters

Return Value

Type: Microsoft.Synchronization.SyncKnowledge
The knowledge object that has been converted for use by the replica that owns this knowledge.

Exceptions

Exception Condition
InvalidOperationException

This SyncKnowledge object is not initialized.

ArgumentNullException

remoteKnowledge is a null reference (Nothing in Visual Basic).

ArgumentOutOfRangeException

remoteKnowledge is uninitialized.

InvalidKnowledgeVersionException

remoteKnowledge is in a version that is less than the value of MinimumCompatibilityLevel.

Remarks

A SyncKnowledge object that is received from a remote provider must be converted by using MapRemoteKnowledgeToLocal before it can be used for various operations, such as change enumeration.

See Also

Reference

SyncKnowledge Class

Microsoft.Synchronization Namespace