Export (0) Print
Expand All
Expand Minimize

SearchServiceApplication.AddDisplayGroup method

Adds a search scope display group for a search scope consumer. Applies to: Microsoft SharePoint Server 2010 search

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

public int AddDisplayGroup(
	DisplayGroupInfo displayGroupInfo,
	out int statusCode
)

Parameters

displayGroupInfo
Type: Microsoft.Office.Server.Search.Administration.DisplayGroupInfo

Information about the search scope display group.

statusCode
Type: System.Int32

Information about the search scope display group.

Return value

Type: System.Int32
The execution result.

Implements

ISearchSiteAdministrationServiceApplication.AddDisplayGroup(DisplayGroupInfo, Int32)

This method returns the ID of the search scope display group if the execution is successful; otherwise, this method returns -1.

Show:
© 2015 Microsoft