Freigeben über


SqlGeography.STIsValid-Methode

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 (in Microsoft.SqlServer.Types.dll)

Syntax

'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STIsValid As SqlBoolean
'Usage
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

Rückgabewert

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

Siehe auch

Verweis

SqlGeography Klasse

Microsoft.SqlServer.Types-Namespace

Andere Ressourcen

STIsValid (geography-Datentyp)