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

Returns the display group with the specified name, from the specified site.

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

语法

声明
Public Function GetDisplayGroup ( _
    siteUrl As Uri, _
    name As String _
) As ScopeDisplayGroup
用法
Dim instance As Scopes
Dim siteUrl As Uri
Dim name As String
Dim returnValue As ScopeDisplayGroup

returnValue = instance.GetDisplayGroup(siteUrl, name)
public ScopeDisplayGroup GetDisplayGroup (
    Uri siteUrl,
    string name
)

参数

  • siteUrl
    A System.Uri object representing the site URL.
  • name
    A string containing the display group name.

返回值

A ScopeDisplayGroup object representing the specified display group.

另请参阅

参考

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