Langue

SqlFunctions.SoundCode(String) Méthode

Définition

Convertit une chaîne alphanumérique en code à quatre caractères (SOUNDEX) pour rechercher des mots ou des noms similaires.

public:
 static System::String ^ SoundCode(System::String ^ arg);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "SOUNDEX")]
public static string SoundCode(string arg);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "SOUNDEX")>]
static member SoundCode : string -> string
Public Shared Function SoundCode (arg As String) As String

Paramètres

arg
String

Chaîne valide.

Retours

Code SOUNDEX de la chaîne d’entrée.

Attributs

Remarques

Vous ne pouvez pas appeler cette fonction directement. Cette fonction ne peut apparaître qu’au sein d’une requête LINQ to Entities.

Cette fonction est traduite en fonction correspondante dans la base de données. Pour plus d’informations sur la fonction de SQL Server correspondante, consultez SOUNDEX (Transact-SQL).

S’applique à