Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
SDK Documentation
Query Class
Query Properties
 StartRow Property
Community Content
In this section
Statistics Annotations (2)
Collapse All/Expand All Collapse All
This page is specific to
The 2007 product release

Other versions are also available for the following:
Query.StartRow Property (Microsoft.Office.Server.Search.Query)
Gets or sets first row included in the search results.

Namespace: Microsoft.Office.Server.Search.Query
Assembly: Microsoft.Office.Server.Search (in microsoft.office.server.search.dll)
Visual Basic (Declaration)
Public Property StartRow As Integer
Visual Basic (Usage)
Dim instance As Query
Dim value As Integer

value = instance.StartRow

instance.StartRow = value
C#
public int StartRow { get; set; }

Property Value

A 32-bit integer representing the row index. The default value is 1.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
StartRow must be set to 0 to get all the rows      manish joshi ... _bruce   |   Edit   |   Show History
StartRow must be set to 0 to get all the rows. If this is left at the default or set assuming a base of 1 instead of a base of zero, the first hit (and most relevant, if you sort by Rank in descending order) will not be returned from SharePoint.
Flag as ContentBug
The default value for StartRow must be Zero.      AllenYU ... Thomas Lee   |   Edit   |   Show History

Please check it.

[tfl 15 12 08] Content should probably be updated to reflect manish's point.


Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker