SqlFunctions.SoundCode Method (String)

 

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

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

[DbFunctionAttribute("SqlServer", "SOUNDEX")]
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", 
	MessageId = "arg")]
public static string SoundCode(
	string arg
)

Parameters

arg
Type: System.String

A valid string.

Return Value

Type: System.String

The SOUNDEX code of the input string.