CrawlRuleCollection.Exists 方法 (Microsoft.Office.Server.Search.Administration)
Returns a Boolean value that indicates whether the specified crawl rule exists in the collection.
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)
语法
声明
Public Function Exists ( _
path As String _
) As Boolean
用法
Dim instance As CrawlRuleCollection
Dim path As String
Dim returnValue As Boolean
returnValue = instance.Exists(path)
public bool Exists (
string path
)
参数
- path
A string that contains the path of the crawl rule.
返回值
true if the specified crawl rule exists; otherwise, false.
另请参阅
参考
CrawlRuleCollection 类
CrawlRuleCollection 成员
Microsoft.Office.Server.Search.Administration 命名空间