Compartir a través de


: SearchBox (Clase) (Microsoft.SharePoint.Portal.WebControls)

Este miembro o clase no se admite. Cuando actualice una aplicación o escriba aplicaciones nuevas que hagan uso de este miembro o clase, use en su lugar el miembro o clase nuevo. For Enterprise Search de Microsoft Office SharePoint Server 2007, use the Microsoft.SharePoint.PortalWebControls.SearchBoxEx instead. Implements the search box Web Part on the Microsoft Office SharePoint Portal Server 2003 search page.

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
<XmlRootAttribute(Namespace:="urn:schemas-microsoft-com:sharepoint:portal:SearchBox")> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Public Class SearchBox
    Inherits CacheableWebPart
    Implements IDesignTimeHtmlProvider
'Uso
Dim instance As SearchBox
[XmlRootAttribute(Namespace="urn:schemas-microsoft-com:sharepoint:portal:SearchBox")] 
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
public class SearchBox : CacheableWebPart, IDesignTimeHtmlProvider

Jerarquía de herencia

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.CacheableWebPart
                  Microsoft.SharePoint.Portal.WebControls.SearchBox

Seguridad de subprocesos

Todos los miembros estáticos públicos (compartidos en Visual Basic) de este tipo son seguros para la ejecución de subprocesos. No se garantiza que los miembros de instancia sean seguros para los subprocesos.

Vea también

Referencia

SearchBox (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)