SqlGeometry.STIsValid Method

Definition

Determines whether the SqlGeometry instance is well-formed.

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

Returns

SqlBoolean

Returns true if a SqlGeometry instance is well-formed, based on its Open Geospatial Consortium (OGC) type. Returns false if a SqlGeometry instance is not well-formed.

Attributes

Applies to