Partilhar via


Método SqlGeography.STIsValid

Specifies whether a geography instance is well-formed and recognized as a valid geography object based on its Open Geospatial Consortium (OGC) type.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (em Microsoft.SqlServer.Types.dll)

Sintaxe

'Declaração
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STIsValid As SqlBoolean
'Uso
Dim instance As SqlGeography 
Dim returnValue As SqlBoolean 

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

Valor de retorno

Tipo: System.Data.SqlTypes.SqlBoolean
true if the geography instance is well-formed and valid; otherwise, false.

Consulte também

Referência

SqlGeography Classe

Namespace Microsoft.SqlServer.Types

Outros recursos

STIsValid (tipo de dados geography)