SqlDecimal.ToSqlBoolean Method ()


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

Converts this SqlDecimal structure to SqlBoolean.

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

public SqlBoolean ToSqlBoolean()

Return Value

Type: System.Data.SqlTypes.SqlBoolean

true if the Value is non-zero; false if zero; otherwise Null.

.NET Framework
Available since 1.1
Return to top