Compartir a través de


SqlGeography.MakeValid Método

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

Espacio de nombres:  Microsoft.SqlServer.Types
Ensamblado:  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Sintaxis

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

Valor devuelto

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

Vea también

Referencia

SqlGeography Clase

Espacio de nombres Microsoft.SqlServer.Types

Otros recursos

MakeValid (tipo de datos geography)