Udostępnij za pośrednictwem


SyncKnowledge.Contains Method (SyncId, SyncId, SyncId, SyncVersion)

Indicates whether the specified change unit change is known by this knowledge.

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

Syntax

'Declaration
Public Function Contains ( _
    replicaId As SyncId, _
    itemId As SyncId, _
    changeUnitId As SyncId, _
    changeVersion As SyncVersion _
) As Boolean
'Usage
Dim instance As SyncKnowledge
Dim replicaId As SyncId
Dim itemId As SyncId
Dim changeUnitId As SyncId
Dim changeVersion As SyncVersion
Dim returnValue As Boolean

returnValue = instance.Contains(replicaId, itemId, changeUnitId, changeVersion)
public bool Contains (
    SyncId replicaId,
    SyncId itemId,
    SyncId changeUnitId,
    SyncVersion changeVersion
)
public:
bool Contains (
    SyncId^ replicaId, 
    SyncId^ itemId, 
    SyncId^ changeUnitId, 
    SyncVersion^ changeVersion
)
public boolean Contains (
    SyncId replicaId, 
    SyncId itemId, 
    SyncId changeUnitId, 
    SyncVersion changeVersion
)
public function Contains (
    replicaId : SyncId, 
    itemId : SyncId, 
    changeUnitId : SyncId, 
    changeVersion : SyncVersion
) : boolean

Parameters

  • replicaId
    The ID of the replica that originated this change.
  • itemId
    The ID of the item that was changed.
  • changeUnitId
    The ID of the change unit that was changed.
  • changeVersion
    The version for the change.

Return Value

true if the change unit change is known. Otherwise, false.

See Also

Reference

SyncKnowledge Class
SyncKnowledge Members
Microsoft.Synchronization Namespace