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