Partilhar via


SearchResultsBaseDatasource.QueryLanguage Property

Gets or sets the locale for the query.

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

Syntax

'Declaration
Public Property QueryLanguage As CultureInfo
    Get
    Set
'Usage
Dim instance As SearchResultsBaseDatasource
Dim value As CultureInfo

value = instance.QueryLanguage

instance.QueryLanguage = value
public CultureInfo QueryLanguage { get; set; }

Property Value

Type: System.Globalization.CultureInfo
The locale ID.

Remarks

If a locale ID is not specified, the query uses the Web browser's locale.

See Also

Reference

SearchResultsBaseDatasource Class

SearchResultsBaseDatasource Members

Microsoft.Office.Server.Search.WebControls Namespace