Partager via


ISearchSiteAdministrationServiceApplication.GetRuleInfo Method

Retrieves the 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
<OperationContractAttribute> _
Function GetRuleInfo ( _
    ruleId As Integer _
) As RuleInfo
'Usage
Dim instance As ISearchSiteAdministrationServiceApplication
Dim ruleId As Integer
Dim returnValue As RuleInfo

returnValue = instance.GetRuleInfo(ruleId)
[OperationContractAttribute]
RuleInfo GetRuleInfo(
    int ruleId
)

Parameters

Return Value

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

Remarks

Implementing classes should ensure that the value of the ruleId parameter must not be null .

See Also

Reference

ISearchSiteAdministrationServiceApplication Interface

ISearchSiteAdministrationServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace