Share via


CrawlRuleCollection.Count property

Gets the number of CrawlRule objects in the collection.

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

Syntax

'Declaration
Public ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As CrawlRuleCollection
Dim value As Integer

value = instance.Count
public int Count { get; }

Property value

Type: System.Int32
A 32-bit integer representing the number of crawl rules in the collection.

See also

Reference

CrawlRuleCollection class

CrawlRuleCollection members

Microsoft.Office.Server.Search.Administration namespace