Share via


SqlFunctions.Difference(String, String) Method

Definition

Returns an integer value that indicates the difference between the SOUNDEX values of two character expressions.

[System.Data.Entity.DbFunction("SqlServer", "DIFFERENCE")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="string2")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1720:IdentifiersShouldNotContainTypeNames", MessageId="string")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="string1")]
public static Nullable<int> Difference (string string1, string string2);
static member Difference : string * string -> Nullable<int>
Public Shared Function Difference (string1 As String, string2 As String) As Nullable(Of Integer)

Parameters

string1
String

The first string.

string2
String

The second string.

Returns

The SOUNDEX difference between the two strings.

Attributes

Applies to