Partilhar via


ISearchSiteAdministrationServiceApplication.GetDisplayGroupIDFromName Method

Retrieves the ID of a scope display group with the specified name in the scope consumer with the specified name.

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

Syntax

'Declaration
<OperationContractAttribute> _
Function GetDisplayGroupIDFromName ( _
    consumerName As String, _
    name As String _
) As Integer
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim consumerName As String
Dim name As String
Dim returnValue As Integer

returnValue = instance.GetDisplayGroupIDFromName(consumerName, _
    name)
[OperationContractAttribute]
int GetDisplayGroupIDFromName(
    string consumerName,
    string name
)

Parameters

  • consumerName
    Type: System.String

    The name of the scope consumer that manages the scope display group.

Return Value

Type: System.Int32
The ID of the ScopeDisplayGroup object.

Remarks

Implementing classes should ensure that the values of the consumerName parameter and name parameter must not be null .

See Also

Reference

ISearchSiteAdministrationServiceApplication Interface

ISearchSiteAdministrationServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace