Compartilhar via


SearchServiceApplicationProxy.SetRuleInfo method

Define os detalhes da regra de escopo especificado Search a SearchServiceApplicationProxy.

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

Syntax

'Declaração
Public Sub SetRuleInfo ( _
    ruleInfo As RuleInfo _
)
'Uso
Dim instance As SearchServiceApplicationProxy
Dim ruleInfo As RuleInfo

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

Parâmetros

Implements

ISearchSiteAdministrationServiceApplication.SetRuleInfo(RuleInfo)

Exceptions

Exception Condition
Exception

Ocorreu um erro durante a execução do aplicativo.

Comentários

O parâmetro ruleInfo não deve ser null .

Ver também

Referência

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace