![]() |
![]() |
![]() |
Removes all but the top n ranked candidates from a candidate set. Used by Microsoft Provisioning Framework (MPF).
![]() |
||||||||||||
The following table describes the XML elements and attributes. Unless otherwise indicated, the data type is string.
|
![]() |
||||||||||||||||||||||
Once this function is executed, only ranked candidates will remain in the candidate set. A lower rank value means a high rank; in the example below, Printer-A has a higher rank than Printer-B. Unranked candidates will be removed even if the set then contains less than n elements. If multiple candidates share the same rank, and the rank is on the boundary of being included or excluded, the function non-deterministically chooses which candidate to include in the set. The following example illustrates the dilemma. Count = 4
Since Printers D and E both have rank 4, the function will choose one of the printers to keep. This choice may not be random. |
![]() |
Input
|
![]() |
Example XML Request
The following code fragment shows the format for sending data to this procedure. For more information on individual elements and attributes, see the Elements and Attributes table.
Example XML Response
Keep Top Candidates does not return data. |
![]() |
CoreRMO for:
|
![]() |