KeywordQuery.TimeZone property

NOTE: This API is now obsolete.

Gets or sets the time zone for the search user.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Property TimeZone As SPTimeZone
    Get
    Set
'Usage
Dim instance As KeywordQuery
Dim value As SPTimeZone

value = instance.TimeZone

instance.TimeZone = value
[ObsoleteAttribute("This class is obsolete.")]
public SPTimeZone TimeZone { get; set; }

Property value

Type: Microsoft.SharePoint.SPTimeZone
The time zone.

See also

Reference

KeywordQuery class

KeywordQuery members

Microsoft.SharePoint.Search.Query namespace