SqlGeometry.STIsClosed Method

Definition

Determines whether the start and end points of the calling SqlGeometry are the same.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlBoolean STIsClosed ();
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STIsClosed : unit -> System.Data.SqlTypes.SqlBoolean
Public Function STIsClosed () As SqlBoolean

Returns

Returns true if the start and end points of the given SqlGeometry instance are the same. Returns false if the instance is not closed, if any figures of the instance are points, or if the instance is empty.Returns true for geometry collection types if each contained SqlGeometry instance is closed. Otherwise, false.

Attributes

Applies to