Delen via


FullTextService.EnumLanguages Method

Enumerates a list of all the languages supported by Microsoft Search service.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function EnumLanguages As DataTable
'Usage
Dim instance As FullTextService 
Dim returnValue As DataTable 

returnValue = instance.EnumLanguages()
public DataTable EnumLanguages()
public:
DataTable^ EnumLanguages()
member EnumLanguages : unit -> DataTable
public function EnumLanguages() : DataTable

Return Value

Type: System.Data.DataTable
A DataTable system object value that contains an enumerated list of languages supported by the Microsoft Search service. The following table describes the different columns of the returned DataTable.

Column

Data type

Description

Name

String

The name of the language. See sp_helplanguage (Transact-SQL).

Lcid

Int32

The local ID for the language. See sp_helplanguage (Transact-SQL).

Examples

Implementing Full-Text Search

See Also

Reference

FullTextService Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

sys.syslanguages (Transact-SQL)

DEL - Full-Text Search Overview

CREATE FULLTEXT INDEX (Transact-SQL)

CREATE FULLTEXT CATALOG (Transact-SQL)