共用方式為


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

value = instance.UrlZone
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