SqlGeography.MakeValid Method ()

 

Applies To: SQL Server 2016 Preview

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

Namespace:   Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Syntax

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeography MakeValid()
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlGeography^ MakeValid()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member MakeValid : unit -> SqlGeography
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function MakeValid As SqlGeography

Return Value

Type: Microsoft.SqlServer.Types.SqlGeography

Returns SqlGeography.

See Also

SqlGeography Class
Microsoft.SqlServer.Types Namespace
MakeValid (geography Data Type)

Return to top