SqlBoolean.LogicalNot Operator (SqlBoolean)


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

Performs a NOT operation on a SqlBoolean.

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

public static SqlBoolean operator !(
	SqlBoolean x


Type: System.Data.SqlTypes.SqlBoolean

The SqlBoolean on which the NOT operation will be performed.

Return Value

Type: System.Data.SqlTypes.SqlBoolean

A SqlBoolean with the ValueTrue if argument was true, Null if argument was null, and False otherwise.

.NET Framework
Available since 1.1
Return to top