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
ruleId
Type: System.Int32A ID do SearchScopeRule.
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