ScopesManager.GetDisplayGroup Method
When overridden in a derived class, gets the scope display group the with specified site URI and name.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public MustOverride Function GetDisplayGroup ( _
siteUrl As Uri, _
name As String _
) As ScopeDisplayGroup
'Usage
Dim instance As ScopesManager
Dim siteUrl As Uri
Dim name As String
Dim returnValue As ScopeDisplayGroup
returnValue = instance.GetDisplayGroup(siteUrl, _
name)
public abstract ScopeDisplayGroup GetDisplayGroup(
Uri siteUrl,
string name
)
Parameters
siteUrl
Type: System.UriThe URL of the Search scope consumer.
name
Type: System.StringThe name of the scope display group.
Return Value
Type: Microsoft.Office.Server.Search.Administration.ScopeDisplayGroup
A scope display group.
Remarks
This method should be implemented in the derived classes.