共用方式為


EnumLanguages 方法

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function EnumLanguages As DataTable
'用途
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

傳回值

型別:System.Data. . :: . .DataTable
A DataTable system object value that contains an enumerated list of languages supported by the Microsoft Search service. The 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).