Partilhar via


SearchServiceApplication.SetRuleInfo Method

Sets the details of the specified Search scope rule in the SearchServiceApplication.

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

Syntax

'Declaration
Public Sub SetRuleInfo ( _
    ruleInfo As RuleInfo _
)
'Usage
Dim instance As SearchServiceApplication
Dim ruleInfo As RuleInfo

instance.SetRuleInfo(ruleInfo)
public void SetRuleInfo(
    RuleInfo ruleInfo
)

Parameters

Implements

ISearchSiteAdministrationServiceApplication.SetRuleInfo(RuleInfo)

Remarks

The ruleInfo must not be null .

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace