Partager via


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