Méthode SqlGeography.MakeValid
Converts a geography instance that is not valid into a valid geography instance with a valid Open Geospatial Consortium (OGC) type.
Espace de noms : Microsoft.SqlServer.Types
Assembly : Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)
Syntaxe
'Déclaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function MakeValid As SqlGeography
'Utilisation
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
Valeur de retour
Type : Microsoft.SqlServer.Types.SqlGeography
Returns SqlGeography.
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Types