Dela via


FullTextStopList.AddStopWord Method

Adds a stopword to the stop list for the full-text index.

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

Syntax

'Declaration
Public Sub AddStopWord ( _
    stopword As String, _
    language As String _
)
'Usage
Dim instance As FullTextStopList
Dim stopword As String
Dim language As String

instance.AddStopWord(stopword, language)
public void AddStopWord(
    string stopword,
    string language
)
public:
void AddStopWord(
    String^ stopword, 
    String^ language
)
member AddStopWord : 
        stopword:string * 
        language:string -> unit 
public function AddStopWord(
    stopword : String, 
    language : String
)

Parameters

  • stopword
    Type: System.String
    A String value that specifies the stopword to be added to the stop list.