Scope.Count property

Gets the number of content items in a search scope.

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 Scope
Dim value As Integer

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

Property value

Type: System.Int32
A 32-bit integer representing the number of content items.

Remarks

If the scope is not compiled, this property returns a value of -1.

See also

Reference

Scope class

Scope members

Microsoft.Office.Server.Search.Administration namespace