GetRulesInfo method
TOC
Collapse the table of content
Expand the table of content

SearchServiceApplication.GetRulesInfo method

Retrieves a list of RuleInfo objects for all of the ScopeRule objects defined within the specified SearchScope.

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

public List<RuleInfo> GetRulesInfo(
	int scopeId,
	out int statusCode
)

Parameters

scopeId
Type: System.Int32

The ID of the SearchScope.

statusCode
Type: System.Int32

The status code of method execution, where 0 indicates successful execution, and 1 indicates that the Search scope with the specified ID was not found.

Return value

Type: System.Collections.Generic.List<RuleInfo>
The list of the SearchScopeRule information.

Implements

ISearchSiteAdministrationServiceApplication.GetRulesInfo(Int32, Int32)

This value of the scopeId parameter must not be null .

Show:
© 2016 Microsoft