SearchServiceApplication.GetRuleInfo method
Retrieves the RuleInfo for the ScopeRule with the specified ID.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function GetRuleInfo ( _
ruleId As Integer _
) As RuleInfo
'Usage
Dim instance As SearchServiceApplication
Dim ruleId As Integer
Dim returnValue As RuleInfo
returnValue = instance.GetRuleInfo(ruleId)
public RuleInfo GetRuleInfo(
int ruleId
)
Parameters
ruleId
Type: System.Int32The ID of the SearchScopeRule.
Return value
Type: Microsoft.Office.Server.Search.Administration.RuleInfo
The RuleInfo for the ScopeRule.
Implements
ISearchSiteAdministrationServiceApplication.GetRuleInfo(Int32)
Remarks
This value of the ruleId parameter must not be null .
See also
Reference
SearchServiceApplication class