Share via


ISearchSiteAdministrationServiceApplication.GetRulesInfo method

Retrieves a list of information about all of the scope rules defined within the specified Search scope.

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

Syntax

'Declaration
<OperationContractAttribute> _
Function GetRulesInfo ( _
    scopeId As Integer, _
    <OutAttribute> ByRef statusCode As Integer _
) As List(Of RuleInfo)
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim scopeId As Integer
Dim statusCode As Integer
Dim returnValue As List(Of RuleInfo)

returnValue = instance.GetRulesInfo(scopeId, _
    statusCode)
[OperationContractAttribute]
List<RuleInfo> GetRulesInfo(
    int scopeId,
    out int statusCode
)

Parameters

Return value

Type: System.Collections.Generic.List<RuleInfo>
The list of information about the scope rules.

Remarks

Implementing classes should ensure that the value of the scopeId parameter must not be null .

Implementing classes should set statusCode to 0 to indicate successful execution and 1 otherwise.

See also

Reference

ISearchSiteAdministrationServiceApplication interface

ISearchSiteAdministrationServiceApplication members

Microsoft.Office.Server.Search.Administration namespace