FullTextStopList.HasStopWord 方法

Verifies that the specified stopword with the specified language is present in the full-text stop list.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function HasStopWord ( _
    stopword As String, _
    language As String _
) As Boolean
用法
Dim instance As FullTextStopList 
Dim stopword As String 
Dim language As String 
Dim returnValue As Boolean 

returnValue = instance.HasStopWord(stopword, _
    language)
public bool HasStopWord(
    string stopword,
    string language
)
public:
bool HasStopWord(
    String^ stopword, 
    String^ language
)
member HasStopWord : 
        stopword:string * 
        language:string -> bool
public function HasStopWord(
    stopword : String, 
    language : String
) : boolean

参数

  • language
    类型:System.String
    A String value that specifies the language of the stopword to verify.

返回值

类型:System.Boolean
A Boolean value that specifies whether the full-text stop list contains the specified stopword. Returns True if the stopword is present; otherwise, False.

请参阅

参考

FullTextStopList 类

Microsoft.SqlServer.Management.Smo 命名空间