Share via


ScopeRuleCollection.Count property

Gets the number of ScopeRule 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 ScopeRuleCollection
Dim value As Integer

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

Property value

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

See also

Reference

ScopeRuleCollection class

ScopeRuleCollection members

Microsoft.Office.Server.Search.Administration namespace