Query.UrlZone Property

Gets the originating URL zone for the query request.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
Public ReadOnly Property UrlZone As SPUrlZone
    Get
'Usage
Dim instance As Query
Dim value As SPUrlZone

value = instance.UrlZone
public SPUrlZone UrlZone { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPUrlZone
A value from the Microsoft.SharePoint.Administration.SPUrlZone enumeration specifying the URL zone.

See Also

Reference

Query Class

Query Members

Microsoft.SharePoint.Search.Query Namespace