This topic has not yet been rated - Rate this topic

ScopeCollection.Create Method (String, String, Uri, Boolean, String, ScopeCompilationType)

Creates a new scope.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
public Scope Create(
	string name,
	string description,
	Uri owningSiteUrl,
	bool displayInAdminUI,
	string alternateResultsPage,
	ScopeCompilationType compilationType
)

Parameters

name
Type: System.String
A string specifying the scope name.
description
Type: System.String
A string specifying the scope description.
owningSiteUrl
Type: System.Uri
A System.Uri object representing the owning site URL.
displayInAdminUI
Type: System.Boolean
true to display the scope in the Search Administrator user interface; otherwise, false.
alternateResultsPage
Type: System.String
A string specifying the alternate results page for the scope.
compilationType
Type: Microsoft.Office.Server.Search.Administration.ScopeCompilationType
A value from the ScopeCompilationType enumeration specifying the type of scope compilation.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ