Share via


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