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

SqlGeometry.STIsRing Method

Determines whether the calling SqlGeometry instance is a ring.

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

public function STIsRing() : SqlBoolean

Return Value

Type: SqlBoolean
Returns true if a geometry instance fulfills the following requirements:
  • It is a LineString instance.

  • It is closed.

  • It is simple.

Returns false if the LineString instance does not meet the requirements.

For a SqlGeometry instance to be closed and simple, both STIsClosed and STIsSimple must return true when invoked on the instance. To determine the instance type of a SqlGeometry, use STGeometryType.

Community Additions

Show:
© 2015 Microsoft