: ScopeCollection.Create (Método) (Microsoft.Office.Server.Search.Administration)
Creates a new scope.
Espacio de nombres:
Ensamblado: Microsoft.Office.Server.Search (in microsoft.office.server.search.dll)
Sintaxis
'Declaración
Public Function Create ( _
name As String, _
description As String, _
owningSiteUrl As Uri, _
displayInAdminUI As Boolean, _
alternateResultsPage As String, _
compilationType As ScopeCompilationType _
) As Scope
'Uso
Dim instance As ScopeCollection
Dim name As String
Dim description As String
Dim owningSiteUrl As Uri
Dim displayInAdminUI As Boolean
Dim alternateResultsPage As String
Dim compilationType As ScopeCompilationType
Dim returnValue As Scope
returnValue = instance.Create(name, description, owningSiteUrl, displayInAdminUI, alternateResultsPage, compilationType)
public Scope Create (
string name,
string description,
Uri owningSiteUrl,
bool displayInAdminUI,
string alternateResultsPage,
ScopeCompilationType compilationType
)
Parámetros
- name
A string specifying the scope name.
- description
A string specifying the scope description.
- owningSiteUrl
A System.Uri object representing the owning site URL.
- displayInAdminUI
true to display the scope in the Shared Service Provider Administrator user interface; otherwise, false.
- alternateResultsPage
A string specifying the alternate results page for the scope.
- compilationType
A value from the ScopeCompilationType enumeration specifying the type of scope compilation.
Valor devuelto
A Scope object.
Vea también
Referencia
ScopeCollection (Clase)
ScopeCollection (Miembros)
Microsoft.Office.Server.Search.Administration (Espacio de nombres)