Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the knowledge for the specified range of item IDs.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Function GetKnowledgeForRange ( _
closedLowerBound As SyncId, _
closedUpperBound As SyncId _
) As SyncKnowledge
'Usage
Dim instance As SyncKnowledge
Dim closedLowerBound As SyncId
Dim closedUpperBound As SyncId
Dim returnValue As SyncKnowledge
returnValue = instance.GetKnowledgeForRange(closedLowerBound, _
closedUpperBound)
public SyncKnowledge GetKnowledgeForRange(
SyncId closedLowerBound,
SyncId closedUpperBound
)
public:
SyncKnowledge^ GetKnowledgeForRange(
SyncId^ closedLowerBound,
SyncId^ closedUpperBound
)
member GetKnowledgeForRange :
closedLowerBound:SyncId *
closedUpperBound:SyncId -> SyncKnowledge
public function GetKnowledgeForRange(
closedLowerBound : SyncId,
closedUpperBound : SyncId
) : SyncKnowledge
Parameters
- closedLowerBound
Type: Microsoft.Synchronization.SyncId
The closed lower bound item ID of the range.
- closedUpperBound
Type: Microsoft.Synchronization.SyncId
The closed upper bound item ID of the range.
Return Value
Type: Microsoft.Synchronization.SyncKnowledge
The knowledge for the specified range of item IDs.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | This SyncKnowledge object is not initialized. |
| ArgumentNullException | closedLowerBound or closedUpperBound is a null reference (Nothing in Visual Basic). |
| SyncIdFormatMismatchException | closedLowerBound or closedUpperBound is not in the ID format specified for this knowledge object or has a different variable length setting. |
| SystemArgumentException | closedLowerBound is greater than or equal to closedUpperBound. |