Partilhar via


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

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 .

See Also

Reference

RemoteScopes Class

RemoteScopes Members

Microsoft.Office.Server.Search.Administration Namespace