다음을 통해 공유


SearchBox.SupportContextSensitiveScope Property

This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Gets a flag that indicates whether context-sensitive scopes are enabled for this Web Part.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Protected ReadOnly Property SupportContextSensitiveScope As Boolean
    Get
'Usage
Dim value As Boolean

value = Me.SupportContextSensitiveScope
protected bool SupportContextSensitiveScope { get; }

Property Value

Type: System.Boolean
true indicates that additional, context-sensitive scope restrictions are enabled for this Web Part; otherwise, false.

Remarks

The SupportContextSensitiveScope property is read-only. This property is protected.

See Also

Reference

SearchBox Class

SearchBox Members

Microsoft.SharePoint.Portal.WebControls Namespace