Partager via


Scopes.GetScopesForSite Method

Returns an enumerator to access the collection of scopes for a specified site.

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

Syntax

'Declaration
Public Overrides Function GetScopesForSite ( _
    siteUrl As Uri _
) As IEnumerable
'Usage
Dim instance As Scopes
Dim siteUrl As Uri
Dim returnValue As IEnumerable

returnValue = instance.GetScopesForSite(siteUrl)
public override IEnumerable GetScopesForSite(
    Uri siteUrl
)

Parameters

  • siteUrl
    Type: System.Uri

    A System.Uri object representing the site URL.

Return Value

Type: System.Collections.IEnumerable
A System.Collections.IEnumerator object.

See Also

Reference

Scopes Class

Scopes Members

Microsoft.Office.Server.Search.Administration Namespace