ScopesManager.GetScope method

Gets the Search scope.

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

Syntax

'Declaration
Public MustOverride Function GetScope ( _
    siteUrl As Uri, _
    name As String _
) As Scope
'Usage
Dim instance As ScopesManager
Dim siteUrl As Uri
Dim name As String
Dim returnValue As Scope

returnValue = instance.GetScope(siteUrl, _
    name)
public abstract Scope GetScope(
    Uri siteUrl,
    string name
)

Parameters

  • siteUrl
    Type: System.Uri

    The URL of the Search scope consumer.

Return value

Type: Microsoft.Office.Server.Search.Administration.Scope
A Search scope.

Remarks

This method should be implemented in the derived classes.

See also

Reference

ScopesManager class

ScopesManager members

Microsoft.Office.Server.Search.Administration namespace