Share via


CrawlRuleCollection.Item Property (String)

Gets a CrawlRule object from collection, based on the specified path.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    path As String _
) As CrawlRule
    Get
'Usage
Dim instance As CrawlRuleCollection
Dim path As String
Dim value As CrawlRule

value = instance(path)
public CrawlRule this[
    string path
] { get; }

Parameters

  • path
    Type: System.String
    A string that contains the URL for the path.

Property Value

Type: Microsoft.Office.Server.Search.Administration.CrawlRule
A CrawlRule object that represents the crawl rule.

See Also

Reference

CrawlRuleCollection Class

CrawlRuleCollection Members

Item Overload

Microsoft.Office.Server.Search.Administration Namespace