次の方法で共有


SearchResults クラス (Microsoft.SharePoint.Portal.WebControls)

Microsoft Office SharePoint Portal Server 2003 の検索ページに、検索結果 Web パーツを実装します。

名前空間: Microsoft.SharePoint.Portal.WebControls
アセンブリ: Microsoft.SharePoint.Portal (microsoft.sharepoint.portal.dll 内)

構文

'宣言
<XmlRootAttribute(Namespace:="urn:schemas-microsoft-com:sharepoint:portal:SearchResults")> _
<DesignerAttribute("Microsoft.SharePoint.Portal.WebControls.Designer.QueryResultsDesigner")> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class SearchResults
    Inherits QueryResultBase
'使用
Dim instance As SearchResults
[XmlRootAttribute(Namespace="urn:schemas-microsoft-com:sharepoint:portal:SearchResults")] 
[DesignerAttribute("Microsoft.SharePoint.Portal.WebControls.Designer.QueryResultsDesigner")] 
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
public class SearchResults : QueryResultBase

備考

この Web パーツを使用して、SharePoint Portal Server のカスタム Web パーツ ページに検索結果を表示します。

継承階層

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.Portal.WebControls.WebPartLoc
                 Microsoft.SharePoint.Portal.WebControls.DataResultBase
                   Microsoft.SharePoint.Portal.WebControls.QueryResultBase
                    Microsoft.SharePoint.Portal.WebControls.SearchResults

スレッドの安全性

この型のパブリックで静的な (Visual Basic では Shared) すべてのメンバは、スレッド セーフです。インスタンス メンバは、スレッド セーフであるとは保証されません。

関連項目

参照

SearchResults メンバ
Microsoft.SharePoint.Portal.WebControls 名前空間