RemoteScopes.GetUnusedScopesForSite Method
Gets an enumerator to access the [T:System.Collections.Generic.List<T>] of the search Scope objects that are not used by any Search scope display group.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Overrides Function GetUnusedScopesForSite ( _
siteUrl As Uri _
) As IEnumerable
'Usage
Dim instance As RemoteScopes
Dim siteUrl As Uri
Dim returnValue As IEnumerable
returnValue = instance.GetUnusedScopesForSite(siteUrl)
public override IEnumerable GetUnusedScopesForSite(
Uri siteUrl
)
Parameters
siteUrl
Type: System.UriThe URI of the search Scope consumer of the required Scope objects.
Return Value
Type: System.Collections.IEnumerable
An enumerator to access the [T:System.Collections.Generic.List<T>] of the search Scope objects.
Remarks
The siteUrl must be any URL to an SPSite, or null .