SearchBoxScriptWebPart.UseSharedSettings property

Gets or sets a value that indicates whether shared settings for the control should be used. The settings from the closest scope: web, site, tenant, or service will be applied.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(True)> _
Public Property UseSharedSettings As Boolean
    Get
    Set
'Usage
Dim instance As SearchBoxScriptWebPart
Dim value As Boolean

value = instance.UseSharedSettings

instance.UseSharedSettings = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(true)]
public bool UseSharedSettings { get; set; }

Property value

Type: System.Boolean

See also

Reference

SearchBoxScriptWebPart class

SearchBoxScriptWebPart members

Microsoft.Office.Server.Search.WebControls namespace