Share via


CoreResultsWebPart.Scope Property

Gets or sets the name of the scope for the search results displayed in the CoreResultsWebPart Web Part.

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

Syntax

'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property Scope As String
    Get
    Set
'Usage
Dim instance As CoreResultsWebPart
Dim value As String

value = instance.Scope

instance.Scope = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public string Scope { get; set; }

Property Value

Type: System.String
The string containing the scope name.

See Also

Reference

CoreResultsWebPart Class

CoreResultsWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace