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
ruleInfo
Type: Microsoft.Office.Server.Search.Administration.RuleInfoThe information about the Search scope rule.
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