Freigeben über


SqlGeography.MakeValid-Methode

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

'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function MakeValid As SqlGeography
'Usage
Dim instance As SqlGeography 
Dim returnValue As SqlGeography 

returnValue = instance.MakeValid()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeography MakeValid()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeography^ MakeValid()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member MakeValid : unit -> SqlGeography
public function MakeValid() : SqlGeography

Rückgabewert

Typ: Microsoft.SqlServer.Types.SqlGeography
Returns SqlGeography.

Siehe auch

Verweis

SqlGeography Klasse

Microsoft.SqlServer.Types-Namespace

Andere Ressourcen

MakeValid (geography-Datentyp)