共用方式為


QueryProperties.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 Property UrlZone As SPUrlZone
    Get
    Set
'Usage
Dim instance As QueryProperties
Dim value As SPUrlZone

value = instance.UrlZone

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

Property Value

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

See Also

Reference

QueryProperties Class

QueryProperties Members

Microsoft.SharePoint.Search.Query Namespace