Scopes.GetScopesForSite 方法 (Microsoft.Office.Server.Search.Administration)

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

命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)

语法

声明
Public Function GetScopesForSite ( _
    siteUrl As Uri _
) As IEnumerable
用法
Dim instance As Scopes
Dim siteUrl As Uri
Dim returnValue As IEnumerable

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

参数

  • siteUrl
    A System.Uri object representing the site URL.

返回值

A System.Collections.IEnumerator object.

另请参阅

参考

Scopes 类
Scopes 成员
Microsoft.Office.Server.Search.Administration 命名空间