共用方式為


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

範例

實作全文檢索搜尋

請參閱

參考

FullTextService 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

sys.syslanguages (Transact-SQL)

全文檢索搜尋概觀

CREATE FULLTEXT INDEX (Transact-SQL)

CREATE FULLTEXT CATALOG (Transact-SQL)