SyncKnowledge.GetKnowledgeForRange Method

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

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.

See Also

Reference

SyncKnowledge Class

Microsoft.Synchronization Namespace