Partager via


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