Partager via


SearchServiceApplicationProxy.SetRuleInfo Method

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

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 SearchServiceApplicationProxy
Dim ruleInfo As RuleInfo

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

Parameters

Implements

ISearchSiteAdministrationServiceApplication.SetRuleInfo(RuleInfo)

Exceptions

Exception Condition
Exception

An error occurred during application execution.

Remarks

The ruleInfo parameter must not be null .

See Also

Reference

SearchServiceApplicationProxy Class

SearchServiceApplicationProxy Members

Microsoft.Office.Server.Search.Administration Namespace