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)