Compartilhar via


Query.SiteContext property

Obtém ou define a URL do site para a consulta de pesquisa.

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

Syntax

'Declaração
Public Property SiteContext As Uri
    Get
    Set
'Uso
Dim instance As Query
Dim value As Uri

value = instance.SiteContext

instance.SiteContext = value
public Uri SiteContext { get; set; }

Property value

Type: System.Uri
Um objeto System.Uri que representa a URL do site.

Ver também

Referência

Query class

Query members

Microsoft.Office.Server.Search.Query namespace