Share via


Query.UrlZone property

NOTE: This API is now obsolete.

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
<ObsoleteAttribute("This class is obsolete.")> _
Public Property UrlZone As SPUrlZone
    Get
    Friend Set
'Usage
Dim instance As Query
Dim value As SPUrlZone

value = instance.UrlZone
[ObsoleteAttribute("This class is obsolete.")]
public SPUrlZone UrlZone { get; internal set; }

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