SearchServiceApplication.GetRuleInfo 方法

检索与指定的IDScopeRuleRuleInfo

命名空间:  Microsoft.Office.Server.Search.Administration
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Public Function GetRuleInfo ( _
    ruleId As Integer _
) As RuleInfo
用法
Dim instance As SearchServiceApplication
Dim ruleId As Integer
Dim returnValue As RuleInfo

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

参数

返回值

类型:Microsoft.Office.Server.Search.Administration.RuleInfo
ScopeRuleRuleInfo

实现

ISearchSiteAdministrationServiceApplication.GetRuleInfo(Int32)

备注

此参数值的规则 Id不能 null 。

另请参阅

引用

SearchServiceApplication 类

SearchServiceApplication 成员

Microsoft.Office.Server.Search.Administration 命名空间