Freigeben über


SqlGeometry.MakeValid Method

Definition

Converts an invalid SqlGeometry instance into a SqlGeometry instance with a valid Open Geospatial Consortium (OGC) type.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public Microsoft.SqlServer.Types.SqlGeometry MakeValid ();
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.MakeValid : unit -> Microsoft.SqlServer.Types.SqlGeometry
Public Function MakeValid () As SqlGeometry

Returns

A SqlGeometry value with a valid OGC type.

Attributes

Applies to