Sdílet prostřednictvím


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
)
public SyncKnowledge MapRemoteKnowledgeToLocal (
    SyncKnowledge remoteKnowledge
)
public function MapRemoteKnowledgeToLocal (
    remoteKnowledge : SyncKnowledge
) : SyncKnowledge

Parameters

  • remoteKnowledge
    The knowledge object to convert.

Return Value

The knowledge object that has been converted for use by the replica that owns this knowledge.

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
SyncKnowledge Members
Microsoft.Synchronization Namespace