TopFederatedResultsWebPart Class
The user interface (UI) control that displays the results for a search query to a federated location.
Inheritance Hierarchy
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.Panel
System.Web.UI.WebControls.WebParts.Part
System.Web.UI.WebControls.WebParts.WebPart
Microsoft.SharePoint.WebPartPages.WebPart
Microsoft.SharePoint.WebPartPages.BaseXsltDataWebPart
Microsoft.SharePoint.WebPartPages.DataFormWebPart
Microsoft.Office.Server.Search.WebControls.SearchResultsBaseWebPart
Microsoft.Office.Server.Search.WebControls.TopFederatedResultsWebPart
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class TopFederatedResultsWebPart _
Inherits SearchResultsBaseWebPart
'Usage
Dim instance As TopFederatedResultsWebPart
[ComVisibleAttribute(false)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class TopFederatedResultsWebPart : SearchResultsBaseWebPart
Remarks
Enterprise Search in Microsoft Office SharePoint Server 2007 includes the following new Web Parts for displaying search results from federated locations:
Federated Results Web Part
This Web Part displays the results from a specified federated location. You can specify only one location in a Federated Results Web Part. Use the FederatedResultsWebPart class to create a custom version of this Web Part.Top Federated Results Web Part
This Web Part displays the results from the first federated location to return search results. You can configure multiple locations for this Web Part, in priority order. Use the TopFederatedResultsWebPart class to create a custom version of this Web Part.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
TopFederatedResultsWebPart Members
Microsoft.Office.Server.Search.WebControls Namespace
TopFederatedResultsDataSource
TopFederatedResultsDataSourceView
FederatedResultsDataSource
SearchResultsBaseDataSource
Other Resources
Custom Federated Search Web Part Sample
Custom Federated Results Web Part - Simplified Version