Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Converts an invalid SqlGeometry instance into a SqlGeometry instance with a valid Open Geospatial Consortium (OGC) type.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function MakeValid As SqlGeometry
'Usage
Dim instance As SqlGeometry
Dim returnValue As SqlGeometry
returnValue = instance.MakeValid()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry MakeValid()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeometry^ MakeValid()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member MakeValid : unit -> SqlGeometry
public function MakeValid() : SqlGeometry
Return Value
Type: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry value with a valid OGC type.
Remarks
This method may cause a change in the type of the SqlGeometry instance, as well as cause the points of a SqlGeometry instance to shift slightly.