SqlString.CompareOptionsFromSqlCompareOptions Method (SqlCompareOptions)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the CompareOptions enumeration equilvalent of the specified SqlCompareOptions value.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static CompareOptions CompareOptionsFromSqlCompareOptions(
	SqlCompareOptions compareOptions


Type: System.Data.SqlTypes.SqlCompareOptions

A SqlCompareOptions value that describes the comparison options for this SqlString structure.

Return Value

Type: System.Globalization.CompareOptions

A CompareOptions value that corresponds to the SqlCompareOptions for this SqlString structure.

.NET Framework
Available since 1.1
Return to top