ScopeRuleCollection.CreateAllContentRule Method

Creates a scope rule that matches all the content.

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

Syntax

'Declaration
Public Function CreateAllContentRule As AllContentScopeRule
'Usage
Dim instance As ScopeRuleCollection
Dim returnValue As AllContentScopeRule

returnValue = instance.CreateAllContentRule()
public AllContentScopeRule CreateAllContentRule()

Return Value

Type: Microsoft.Office.Server.Search.Administration.AllContentScopeRule
An [Microsoft.Office.Server.Search.Administration.AllContentScopeRule] object.

See Also

Reference

ScopeRuleCollection Class

ScopeRuleCollection Members

Microsoft.Office.Server.Search.Administration Namespace