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.UriThe URL of the Search scope consumer.
name
Type: System.StringThe name of the Search scope.
Return Value
Type: Microsoft.Office.Server.Search.Administration.Scope
A Search scope.
Remarks
This method should be implemented in the derived classes.