SqlGeometry.STIsClosed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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