Compartir a través de


: Scopes.GetScope (Método) (Microsoft.Office.Server.Search.Administration)

Returns the site-level scope with the specified name, from the specified site.

Espacio de nombres:
Ensamblado: Microsoft.Office.Server.Search (in microsoft.office.server.search.dll)

Sintaxis

'Declaración
Public Function GetScope ( _
    siteUrl As Uri, _
    name As String _
) As Scope
'Uso
Dim instance As Scopes
Dim siteUrl As Uri
Dim name As String
Dim returnValue As Scope

returnValue = instance.GetScope(siteUrl, name)
public Scope GetScope (
    Uri siteUrl,
    string name
)

Parámetros

  • siteUrl
    A System.Uri object representing the site URL.
  • name

Valor devuelto

A Scope object representing the specified search scope.

Vea también

Referencia

Scopes (Clase)
Scopes (Miembros)
Microsoft.Office.Server.Search.Administration (Espacio de nombres)