共用方式為


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 命名空間