SqlGeometry.STExteriorRing Method

Returns the exterior ring of a SqlGeometry instance that is a polygon.

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

Syntax

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

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

Return Value

Type: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry object that represents the exterior ring of the calling instance.

Remarks

This method returns nulla null reference (Nothing in Visual Basic) if the SqlGeometry instance is not a polygon.

See Also

Reference

SqlGeometry Class

Microsoft.SqlServer.Types Namespace