SearchServiceApplication.GetRuleInfo method

Retrieves the RuleInfo for the ScopeRule with the specified ID.

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

Syntax

'Declaration
Public Function GetRuleInfo ( _
    ruleId As Integer _
) As RuleInfo
'Usage
Dim instance As SearchServiceApplication
Dim ruleId As Integer
Dim returnValue As RuleInfo

returnValue = instance.GetRuleInfo(ruleId)
public RuleInfo GetRuleInfo(
    int ruleId
)

Parameters

Return value

Type: Microsoft.Office.Server.Search.Administration.RuleInfo
The RuleInfo for the ScopeRule.

Implements

ISearchSiteAdministrationServiceApplication.GetRuleInfo(Int32)

Remarks

This value of the ruleId parameter must not be null .

See also

Reference

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace