SyncKnowledge.Contains 方法 (SyncId, SyncId, SyncId, SyncVersion)
指示此知识是否了解指定的变更单位变更。
命名空间: Microsoft.Synchronization
程序集: Microsoft.Synchronization(在 microsoft.synchronization.dll 中)
语法
声明
Public Function Contains ( _
replicaId As SyncId, _
itemId As SyncId, _
changeUnitId As SyncId, _
changeVersion As SyncVersion _
) As Boolean
用法
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
参数
- replicaId
发起此变更的副本的 ID。
- itemId
已变更的项的 ID。
- changeUnitId
已变更的变更单位的 ID。
- changeVersion
该变更的版本。
返回值
如果该变更单位变更是已知的,则为 true。否则为 false。
请参阅
参考
SyncKnowledge 类
SyncKnowledge 成员
Microsoft.Synchronization 命名空间