Compartilhar via


SearchServiceApplication.GetRuleInfo method

Recupera o RuleInfo para ScopeRule com o especificado ID.

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

Syntax

'Declaração
Public Function GetRuleInfo ( _
    ruleId As Integer _
) As RuleInfo
'Uso
Dim instance As SearchServiceApplication
Dim ruleId As Integer
Dim returnValue As RuleInfo

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

Parâmetros

Valor retornado

Type: Microsoft.Office.Server.Search.Administration.RuleInfo
RuleInfo para o ScopeRule.

Implements

ISearchSiteAdministrationServiceApplication.GetRuleInfo(Int32)

Comentários

O valor do parâmetro ruleId não deve ser null .

Ver também

Referência

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace