SearchServiceApplicationProxy.GetRuleInfo method

Retrieves information about the specified scope rule.

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 SearchServiceApplicationProxy
Dim ruleId As Integer
Dim returnValue As RuleInfo

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

Parameters

Return value

Type: Microsoft.Office.Server.Search.Administration.RuleInfo
The information about the scope rule.

Implements

ISearchSiteAdministrationServiceApplication.GetRuleInfo(Int32)

Exceptions

Exception Condition
Exception

An error, such as a SearchServiceApplicationFault, occurred during application execution.

Remarks

This value of the ruleId parameter must not be null .

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace