Share via


Location.TimeZone Property

Gets or sets the time zone for the search query.

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

Syntax

'Declaration
Public Property TimeZone As SPTimeZone
    Get
    Set
'Usage
Dim instance As Location
Dim value As SPTimeZone

value = instance.TimeZone

instance.TimeZone = value
public SPTimeZone TimeZone { get; set; }

Property Value

Type: Microsoft.SharePoint.SPTimeZone
The time zone for the search query.

See Also

Reference

Location Class

Location Members

Microsoft.Office.Server.Search.Query Namespace