SqlSpatialFunctions.MakeValid(DbGeometry) Method

Definition

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

public:
 static System::Data::Spatial::DbGeometry ^ MakeValid(System::Data::Spatial::DbGeometry ^ geometryValue);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "MAKEVALID")]
public static System.Data.Spatial.DbGeometry MakeValid (System.Data.Spatial.DbGeometry geometryValue);
static member MakeValid : System.Data.Spatial.DbGeometry -> System.Data.Spatial.DbGeometry
Public Shared Function MakeValid (geometryValue As DbGeometry) As DbGeometry

Parameters

geometryValue
DbGeometry

The geometry value.

Returns

The converted geometry instance.

Attributes

Applies to