SqlGeography.STIsValid Method ()

 

Applies To: SQL Server 2016 Preview

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STIsValid()
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlBoolean STIsValid()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STIsValid : unit -> SqlBoolean
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function STIsValid As SqlBoolean

Return Value

Type: System.Data.SqlTypes.SqlBoolean

true if the geography instance is well-formed and valid; otherwise, false.

See Also

SqlGeography Class
Microsoft.SqlServer.Types Namespace
STIsValid (geography Data Type)

Return to top