SearchServiceApplication.AddDisplayGroup Method
Adds a Search scope display group for a Search scope consumer.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function AddDisplayGroup ( _
displayGroupInfo As DisplayGroupInfo, _
<OutAttribute> ByRef statusCode As Integer _
) As Integer
'Usage
Dim instance As SearchServiceApplication
Dim displayGroupInfo As DisplayGroupInfo
Dim statusCode As Integer
Dim returnValue As Integer
returnValue = instance.AddDisplayGroup(displayGroupInfo, _
statusCode)
public int AddDisplayGroup(
DisplayGroupInfo displayGroupInfo,
out int statusCode
)
Parameters
displayGroupInfo
Type: Microsoft.Office.Server.Search.Administration.DisplayGroupInfoInformation about the Search scope display group.
statusCode
Type: System.Int32The execution status.
Return Value
Type: System.Int32
The execution result.
Implements
ISearchSiteAdministrationServiceApplication.AddDisplayGroup(DisplayGroupInfo, Int32)
Remarks
This method returns the ID of the Search scope display group if the execution is successful; otherwise, this method returns -1.
See Also
Reference
SearchServiceApplication Class