AllContentScopeRule class
Represents a scope rule that includes all items in the content index.
Inheritance hierarchy
System.Object
Microsoft.Office.Server.Search.Administration.ScopeRule
Microsoft.Office.Server.Search.Administration.AllContentScopeRule
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class AllContentScopeRule _
Inherits ScopeRule
'Usage
Dim instance As AllContentScopeRule
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class AllContentScopeRule : ScopeRule
Remarks
Use the AllContentScopeRule object in compound scopes with other scope rules created to exclude content.
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.