Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

SqlGeography.STIsClosed Method ()


Determines whether the calling SqlGeography instance is closed.

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STIsClosed()

Return Value

Type: System.Data.SqlTypes.SqlBoolean

A SqlBoolean value indicating whether the start and end points of the SqlGeography instance are the same. Returns true if both points are the same. Otherwise, false.

This method returns false if any figures of a geography instance are points, or if the instance is empty.

This method returns true for geography collection types if each contained SqlGeography instance is closed.

All Polygon instances are considered closed.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft