Share via


FullTextStopList.HasStopWord Method

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function HasStopWord ( _
    stopword As String, _
    language As String _
) As Boolean
'Usage
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

Parameters

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

Return Value

Type: 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.