Compartilhar via


SqlGeography.MakeValid Method

Definition

Converts a geography instance that is not valid into a valid geography instance with a valid Open Geospatial Consortium (OGC) type.

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

Returns

Returns SqlGeography.

Attributes

Applies to