SqlFunctions.SoundCode(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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).