SqlFunctions.SoundCode(String) SqlFunctions.SoundCode(String) SqlFunctions.SoundCode(String) SqlFunctions.SoundCode(String) Method

Definition

Converts an alphanumeric string to a four-character (SOUNDEX) code to find similar-sounding words or names.

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

Parameters

arg
String String String String

A valid string.

Returns

The SOUNDEX code of the input string.

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query.

This function is translated to a corresponding function in the database. For information about the corresponding SQL Server function, see SOUNDEX (Transact-SQL).

Applies to