Condividi tramite


Metodo SqlGeography.MakeValid

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

Spazio dei nomi  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Sintassi

'Dichiarazione
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function MakeValid As SqlGeography
'Utilizzo
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

Valore restituito

Tipo: Microsoft.SqlServer.Types.SqlGeography
Returns SqlGeography.

Vedere anche

Riferimento

SqlGeography Classe

Spazio dei nomi Microsoft.SqlServer.Types

Altre risorse

MakeValid (tipo di dati geography)