This topic has not yet been rated - Rate this topic

CoreResultsDatasource class

Represents the data source control used to retrieve the search results for the Core Search Results Web Part.

System.Object
  System.Web.UI.Control
    System.Web.UI.DataSourceControl
      Microsoft.Office.Server.Search.WebControls.SearchResultsBaseDatasource
        Microsoft.Office.Server.Search.WebControls.CoreResultsDatasource

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class CoreResultsDatasource : SearchResultsBaseDatasource

This is the data source that the CoreResultsWebPart Web Part uses to gather data. It is the intermediary between the consuming CoreResultsBaseWebPart and the CoreResultsDataSourceView object that gathers the data. It contains similar properties to the CoreResultsWebPart Web Part and passes these configuration values to CoreResultsDataSourceView.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.