SqlGeography.STIsEmpty Method

Determines whether the SqlGeography instance is empty.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Syntax

'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STIsEmpty As SqlBoolean
'Usage
Dim instance As SqlGeography
Dim returnValue As SqlBoolean

returnValue = instance.STIsEmpty()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlBoolean STIsEmpty()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlBoolean STIsEmpty()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STIsEmpty : unit -> SqlBoolean
public function STIsEmpty() : SqlBoolean

Return Value

Type: System.Data.SqlTypes.SqlBoolean
A SqlBoolean value that indicates whether the calling instance is empty. Returns true if it is empty. Otherwise, returns false.

See Also

Reference

SqlGeography Class

Microsoft.SqlServer.Types Namespace