KeywordQuery.TimeZone property

Gets or sets the time zone for the search user.

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 KeywordQuery
Dim value As SPTimeZone

value = instance.TimeZone

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

Property value

Type: Microsoft.SharePoint.SPTimeZone
The search user’s time zone.

See also

Reference

KeywordQuery class

KeywordQuery members

Microsoft.Office.Server.Search.Query namespace