Share via


Méthode EnumLanguages

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function EnumLanguages As DataTable
'Utilisation
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

Valeur de retour

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).